Compiles JS files using Babel. You can optionaly concat, uglify, and add sourcemaps.
We recommand to use webpack for big SPA.
Commands¶
gulp js- Compile all JS files using Babelgulp watch:js- Watch and compilegulp validate:js- Test JS with ESLINTgulp js:bundleBower- (optional) compile, uglify, concat bower dependencies (result files will bebower--*deps*.js)gulp watch:bower- (optional) Watch and compile bower deps