Extending .angular-cli.json
For Angular applications, the Builder enables you to extend the existing .angular-cli.json
file by adding your own settings.
To extend .angular-cli.json
:
- Add the
.angular-cli.json
file to theartifacts
folder on the root application level. -
Add the necessary settings and
devDependences
to.angular-cli.json
.{ "apps": [ { "styles": [ "../node_modules/some_vendor/dist/css/styles.css" ] } ] }
Restart Webpack in order for the settings to take effect. If you started Webpack by using the Start button of the Builder, click Stop and then start the server again. If you started Webpack from the console, exit the process and type
npm start
again.