diff --git a/svelte.config.js b/svelte.config.js index a3c75a019..be8b3f529 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -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;