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
  • 49
  • 1
  • 6

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
  • 93,980
  • 52
  • 302
  • 446
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
  • 880
  • 1
  • 12
  • 28