I am building an angular 4 application with angular-cli version 1.3.2 so far so good. I read in documentation that we can use global style with lazy loading at https://github.com/angular/angular-cli/wiki/stories-global-styles.
Now when I run the command
ng build --prod -vc -nc --build-optimizer
it generates following output for bootstrap
chunk {bootstrapBundle} bootstrapBundle.cf320d25069acd157990.bundle.css (bootstrapBundle) 96.9 kB {inline} [initial]
As per my understanding this css should be applied to the website but, when I see the website it doesn't have any bootstrap css applied on it.
Now, how can I use bootstrapBundle or bootstrap chunk in the site ?
Here is my angular-cli.json style configuration
"styles": [
"styles.scss"
{
"input": "./assets/smartadmin/bootstrap.scss",
"lazy": true,
"output":"bootstrapBundle"
},
],
Please help.
Thanks.