Skip to content

Instantly share code, notes, and snippets.

@alejandrocoding
Created June 24, 2020 17:19
Show Gist options
  • Save alejandrocoding/2a981e1ff1105b1b385930aa762e9f47 to your computer and use it in GitHub Desktop.
Save alejandrocoding/2a981e1ff1105b1b385930aa762e9f47 to your computer and use it in GitHub Desktop.
Angular json file adding contentStyle scss to bundle as a separate css file (extracted)
...
"extractCss": true,
"vendorChunk": false,
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.json"
],
"styles": [
"src/styles.scss",
{
"input": "src/contentStyle.scss", "bundleName": "contentStyle"
}
],
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment