"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "886c19246fb6bb6af1e63f230b319a3cdaf27ade"
Commit addee2f2 authored by ryankupk's avatar ryankupk
Browse files

Update svelte.config.js to suppress unused CSS selector warnings

parent eb51ad14
...@@ -16,7 +16,15 @@ const config = { ...@@ -16,7 +16,15 @@ const config = {
assets: 'build', assets: 'build',
fallback: 'index.html' fallback: 'index.html'
}) })
} },
onwarn: (warning, handler) => {
const { code, _ } = warning;
if (code === "css-unused-selector")
return;
handler(warning);
},
}; };
export default config; 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