2

I need to update that file for adding 1 reference/dependency for 'angular2-in-memory-web-api' as the file and this ref is missing from my files? Can anybody help me to create/find the same? Thanks

Amit Kadam
  • 59
  • 1
  • 7

2 Answers2

3

Angular-CLI doesn't use SystemJS starting from the Beta.12. Read this announcement. Hence there's no systemjs.config.js anymore. It uses webpack now.

I need to update that file for adding 1 reference/dependency

With webpack you don't need to add anything to the configuration. Webpack resolves dependencies automatically during build type.

Max Koretskyi
  • 101,079
  • 60
  • 333
  • 488
1

Angular2 uses webpack, there is no systemjs.config.js in project created by angular2-cli.

More detailed explanation is here Differences between SystemJS and Webpack

Wasif Ali
  • 886
  • 1
  • 13
  • 29