Fix a deprecation warning in Svelte
This commit is contained in:
parent
538ea31387
commit
9122aab3ad
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue