You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a src/styles.scss instead of a src/styles.css. 'ng init' creates a new src/styles.css file. And I have to remove it manually every time I do an angular cli update.
Is it possible to check the app.styles array in angular-cli.json to avoid the creation of the src/styles.css during 'ng init'?
Activity
Meligy commentedon Oct 31, 2016
Did you tell it not to override
angular-cli.json?If yes, then it can be considered a bug.
It's probably by design though. I expect that it doesn't respect
angular-cli.jsonbecause it generates it!I always run
ng init --style=scss --routingwhen I'm upgrading Angular CLI. I even made it an NPM script, called itreset.BenjaminHofstetter commentedon Oct 31, 2016
I told it not to override angular-cli.json.
filipesilva commentedon Nov 3, 2016
It's a bug. We don't ready the current
angular-cli.jsonwhen doinginit.sumitarora commentedon May 11, 2017
Closing as obsolete
ng initis no longer available command.angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
fix(@nguniversal/builders): disable bundle budgets when using the dev…