+19
packages/web/vite.config.ts
+19
packages/web/vite.config.ts
···
5
5
export default defineConfig({
6
6
base: "/",
7
7
plugins: [react(), svgr()],
8
+
optimizeDeps: {
9
+
include: [
10
+
"react",
11
+
"react-dom",
12
+
"react-router-dom",
13
+
"@icons-pack/react-simple-icons",
14
+
"lucide-react",
15
+
"date-fns",
16
+
"jszip",
17
+
"zustand",
18
+
"@tanstack/react-virtual",
19
+
],
20
+
},
21
+
server: {
22
+
fs: {
23
+
// Allow serving files from the monorepo root
24
+
allow: ["../.."],
25
+
},
26
+
},
8
27
});