nsarrazin HF staff commited on
Commit
2fda730
1 Parent(s): da4edc5

make dynamically imported lib optimize on startup (#653)

Browse files
Files changed (1) hide show
  1. 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
  });