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

1
  • 2
    there's no systemjs.config.js in angular-cli. it uses webpack Commented Aug 3, 2017 at 10:03

2 Answers 2

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.

Sign up to request clarification or add additional context in comments.

2 Comments

then how to resolve the issue regarding missing - 'angular2-in-memory-web-api. as it is needed
where is it required? what angular-cli version do you use?
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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.