Search code examples
angularbundlerxjssystemjs

How to bundle Angular2 RC1 with systemjs


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 671 requests over 7secs to load. This has crippled development.

Does anyone know how to bundle angular and rxjs and include these in system.config?


Solution

  • In order to get a lighter weight project you should check SystemJS Builder or JSPM to bundle your project.

    Example seed project: https://github.com/madhukard/angular2-jspm-seed

    @BrunoGarcia gave a very nice info here: https://stackoverflow.com/a/37098964/5706293