Skip to content
An example of how you can integrate Gulp, Rollup and Babel into your Fuse workflow.
JavaScript
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
js
.gitignore
Gulpfile.js
LICENSE
MainView.ux
README.md
fuse-gulp-rollup-babel.unoproj
package.json

README.md

💫 fuse-gulp-rollup-babel

This is an example of how you can integrate Gulp, Rollup and Babel into your Fuse workflow, allowing you to use ES2015 features (and more!) in your Fuse app.

Prerequisites

  1. Install Node.js and npm if you haven't already.
  2. Install gulp globally: npm install -g gulp
  3. Clone this repo: git clone https://github.com/sebbert/fuse-gulp-babel.git
  4. Inside the project folder, run npm install to fetch dependencies.

Using it

Run gulp watch to watch for changes to files in the js folder. 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.

License

MIT

You can’t perform that action at this time.