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
Asked
Active
Viewed 2,585 times
2
-
2there's no systemjs.config.js in angular-cli. it uses webpack – Max Koretskyi Aug 03 '17 at 10:03
2 Answers
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
-
then how to resolve the issue regarding missing - 'angular2-in-memory-web-api. as it is needed – Amit Kadam Aug 03 '17 at 10:27
-
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