diff --git a/svelte.config.js b/svelte.config.js index be8b3f529..80332f1ae 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -17,14 +17,12 @@ const config = { fallback: 'index.html' }) }, - onwarn: (warning, handler) => { - const { code, _ } = warning; - if (code === "css-unused-selector") - return; - - handler(warning); - }, + onwarn: (warning, handler) => { + const { code, _ } = warning; + if (code === 'css-unused-selector') return; + handler(warning); + } }; export default config;