How to bundle Angular2 RC1 with systemjs

后端 未结 3 991
忘掉有多难
忘掉有多难 2021-01-04 05:58

Prior to the release candidates angular supplied a bundled file. Since the release candidates there\'s no more bundled file. Including angular2 and rxjs my app now makes 6

3条回答
  •  北荒
    北荒 (楼主)
    2021-01-04 06:35

    1)con-cat all js files and css files include on index.html using gulp-concat.

    2)Bundling angular libraries and app components mentioned in systemjs.config.js file. Using gulp systemjs-builder.

    3)Minify bundles using gulp-uglify.

提交回复
热议问题