Unverified Commit 2fcc4aec authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #1316 from ryankupk/svelte-warnings

Update svelte.config.js to suppress unused CSS selector warnings
parents 19d21212 addee2f2
......@@ -16,7 +16,15 @@ const config = {
assets: 'build',
fallback: 'index.html'
})
}
},
onwarn: (warning, handler) => {
const { code, _ } = warning;
if (code === "css-unused-selector")
return;
handler(warning);
},
};
export default config;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment