Properly dedupe svelte to allow context sharing

This commit is contained in:
Andrew Kingston 2021-04-01 19:41:54 +01:00
parent 7fc31a1001
commit 6b706cd438
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ export default {
resolve({ resolve({
preferBuiltins: true, preferBuiltins: true,
browser: true, browser: true,
dedupe: ["svelte", "svelte/internal"],
}), }),
svg(), svg(),
json(), json(),