Spaces:
Build error
Build error
make dynamically imported lib optimize on startup (#653)
Browse files- vite.config.ts +3 -0
vite.config.ts
CHANGED
@@ -9,4 +9,7 @@ export default defineConfig({
|
|
9 |
compiler: "svelte",
|
10 |
}),
|
11 |
],
|
|
|
|
|
|
|
12 |
});
|
|
|
9 |
compiler: "svelte",
|
10 |
}),
|
11 |
],
|
12 |
+
optimizeDeps: {
|
13 |
+
include: ["browser-image-resizer"],
|
14 |
+
},
|
15 |
});
|