Phoenix Gulp JSPM Generator
WARNING: Only use this on new Phoenix projects
Inspired by the Phoenix Webpack Generator
This generator replaces the default brunch asset management with Gulp.
defp deps do
[{:phoenix_gen_gulp_jspm, "~> 1.0"}]
endThe Gulp configuration includes tasks for using babel to transile from ES6 to ES5, and cssnext for transpiling css.
The generator also includes a basic JSPM setup. This requires jspm to be installed. You cen do so by running the following on your command line
npm install -g jspmInstructions:
mix phoenix.gen.gulp.jspm app_name
npm install && jspm install
mix phoenix.server