1.0.0-rc.1 • Published 9 years ago
ngstarter-systemjs-tasks v1.0.0-rc.1
ngstarter-systemjs-tasks
SystemJS build extension for Angular 2 Starter
Getting started
Make sure you have
systemjs.conf.jsin the starter rootInstall the extension
npm install ngstarter-systemjs-tasksOpen
gulp.config.jsin the starter and add the following builder configvar systemJs = { builder: { normalize: true, minify: true, mangle: true, runtime: false, globalDefs: { DEBUG: false, ENV: 'production' } } };Go to tasks/build.js in your starter, require the extension
require('ngstarter-systemjs-tasks');and then set the second param to
build-systemjsgulp.task('build', function (done) { runSequence('test', 'build-systemjs', 'build-assets', done); });Done! Try to build it!
License
MIT
1.0.0-rc.1
9 years ago
1.0.0-rc.0
9 years ago