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 committed Mar 10, 2021
1 parent b694a52 commit 16e787f
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 16e787f

Please sign in to comment.