Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not warn about missing unused css selectors if both css and emitCs…
…s are false (#127)
- Loading branch information
3a0c4a7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After having updated from 6.0.0 to 6.0.1 I'm getting numerous warnings about unused selectors when working with scss:prependData('@import…') inside my rollup.config.js. I traced it down to this change. When changing this manually inside /node_modules everything works again. If I understand line 268 correctly, the condition has changed from:
if we have options.css OR options.emitCss is false or unset …
to
if we options.css is false or unset AND options.emitCss is false or unset …
Is this the desired behaviour?