mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12: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: [
|
plugins: [
|
||||||
sassPlugin({ loadPaths: [".", "node_modules"] }),
|
sassPlugin({ loadPaths: [".", "node_modules"] }),
|
||||||
sveltePlugin({
|
sveltePlugin({
|
||||||
compilerOptions: { css: inlineCss },
|
compilerOptions: { css: inlineCss ? "injected" : "external" },
|
||||||
preprocess: sveltePlugins,
|
preprocess: sveltePlugins,
|
||||||
// let us focus on errors; we can see the warnings with svelte-check
|
// let us focus on errors; we can see the warnings with svelte-check
|
||||||
filterWarnings: (_warning) => false,
|
filterWarnings: (_warning) => false,
|
||||||
|
|
Loading…
Reference in a new issue