Skip to content

Commit

Permalink
fix(styles): Fix "sideEffects" property in package.json causing issue…
Browse files Browse the repository at this point in the history
…s when importing styles (#186)

- Explicitely mark styles (scss, css) as files with side-effects, preventing Webpack from tree shaking them out

Closes #183
  • Loading branch information
jaydiablo authored Mar 10, 2021
1 parent 19e7e95 commit 7b43cd5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projects/angular-notifier/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"name": "angular-notifier"
"name": "angular-notifier",
"sideEffects": [
"*.scss",
"*.css"
]
}

0 comments on commit 7b43cd5

Please sign in to comment.