Fix a deprecation warning in Svelte

This commit is contained in:
Damien Elmes 2023-08-23 11:05:09 +10:00
parent 538ea31387
commit 9122aab3ad
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ build({
plugins: [
sassPlugin({ loadPaths: [".", "node_modules"] }),
sveltePlugin({
compilerOptions: { css: inlineCss },
compilerOptions: { css: inlineCss ? "injected" : "external" },
preprocess: sveltePlugins,
// let us focus on errors; we can see the warnings with svelte-check
filterWarnings: (_warning) => false,