npm.io
1.0.0-rc.1 • Published 10 years ago

ngstarter-webpack-tasks

Licence
MIT
Version
1.0.0-rc.1
Deps
1
Vulns
0
Weekly
0
Stars
2

ngstarter-webpack-tasks

Extends https://github.com/antonybudianto/angular2-starter to have Webpack build

npm version

Getting started

  1. Copy webpack.config.js in this repo to the root of your starter.

  2. Install the extension in your starter

    npm install ngstarter-webpack-tasks --save-dev
  3. Go to tasks/build.js in your starter, require the extension

    require('ngstarter-webpack-tasks');

    and then change build-systemjs to build-webpack

    gulp.task('build', function (done) {
        runSequence('test', 'build-webpack', 'build-assets', done);
    });
  4. Done! Try to build it!

License

MIT

Keywords