mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix a deprecation warning in Svelte
This commit is contained in:
parent
538ea31387
commit
9122aab3ad
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue