How can you bundle Angular 2 using System JS Builder?

后端 未结 2 1282
萌比男神i
萌比男神i 2020-12-09 03:44

I\'m currently using System JS with System JS Builder to bundle up my application, its assets, and the libraries that it references. My problem is that I can bundle librarie

2条回答
  •  一整个雨季
    2020-12-09 04:06

    You can use a bundler like Webpack or Rollup (my preference because it does tree-shaking).

    The Angular team appears to be putting together some great tooling around Rollup in time for the full release. The day 2 keynote of ng-conf this year discussed and demonstrated the offline compiler. Start watching this at 25:30.

提交回复
热议问题