- Install Node.js and npm if you haven't already.
- Install gulp globally:
npm install -g gulp
- Clone this repo:
git clone https://github.com/sebbert/fuse-gulp-babel.git
- Inside the project folder, run
npm installto fetch dependencies.
gulp watch to watch for changes to files in the
When a change occurs, rollup and babel will run, and your transpiled, concatenated JS file will end up as
js-build/app.js. This will in turn trigger an update in the Fuse preview simulator if it's running.
The entry point is
js/app.js, which means that only this file will be able to export objects to fuse.