We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7e5eec commit 3a0c4a7Copy full SHA for 3a0c4a7
index.js
@@ -265,7 +265,7 @@ module.exports = function svelte(options = {}) {
265
if (major_version >= 3) warnings = compiled.warnings || compiled.stats.warnings;
266
267
warnings.forEach(warning => {
268
- if ((options.css || !options.emitCss) && warning.code === 'css-unused-selector') return;
+ if ((!options.css && !options.emitCss) && warning.code === 'css-unused-selector') return;
269
270
if (options.onwarn) {
271
options.onwarn(warning, warning => this.warn(warning));
0 commit comments