2

I typed dir /s/b systemjs.config.js into the Windows command line from the root directory of a new Angular app that was installed by Angular CLI, but the Windows command line responded by saying File Not Found.

Is SystemJS installed by default by Angular CLI? If yes, how do I find its config file? If not, what is used instead?

7
  • 1
    No, it's used webpack for a while: medium.com/@jeff.boothe/angular-cli-meets-webpack-7c9b1a1e1e89 Commented Jun 4, 2017 at 21:23
  • @jonrsharpe If you feel like writing that out as an answer, I would be happy to accept it and mark it as accepted. It would be nice if you showed how to find the webpack config file along the way. Commented Jun 4, 2017 at 22:20
  • It doesn't seem like it would be terribly useful, it's not clear why you were looking for systemjs.config.js in the first place. There isn't a webpack config file unless you ng eject. Commented Jun 4, 2017 at 22:23
  • Hi. To see the files used internally, you can use ng eject or ng eject - - prod. Note that after you need to remove ejected = true to build and run inside angular cli again Commented Jun 4, 2017 at 23:48
  • @AndresM Thank you. From where do you remove 'ejected=true'? Commented Jun 4, 2017 at 23:55

1 Answer 1

2

Angular CLI does not use SystemJS anymore. They have moved over to Webpack, so there will not be a systemjs.config.js file in your project.

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

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.