Angular CLI - create external CSS file from SASS
I have the following settings in angular-cli
"styles": [
"styles.css","assets/scss/app.scss"
],
"defaults": {
"styleExt": "scss",
"component": {}
}
the above compiles all SCSS to CSS and inserts into a tag <style>
on the page. How do I get the CLI to generate an external CSS file so I can do <link>
it?
+3
source to share
No one has answered this question yet
Check out similar questions: