Upload vite.config.ts
Browse files- frontend/vite.config.ts +4 -6
frontend/vite.config.ts
CHANGED
|
@@ -12,14 +12,12 @@ export default defineConfig({
|
|
| 12 |
],
|
| 13 |
build: {
|
| 14 |
rollupOptions: {
|
| 15 |
-
external: []
|
| 16 |
-
output: {
|
| 17 |
-
manualChunks: {
|
| 18 |
-
'html2canvas': ['html2canvas']
|
| 19 |
-
}
|
| 20 |
-
}
|
| 21 |
}
|
| 22 |
},
|
|
|
|
|
|
|
|
|
|
| 23 |
server: {
|
| 24 |
host: '127.0.0.1',
|
| 25 |
port: 5173,
|
|
|
|
| 12 |
],
|
| 13 |
build: {
|
| 14 |
rollupOptions: {
|
| 15 |
+
external: []
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
},
|
| 18 |
+
optimizeDeps: {
|
| 19 |
+
include: ['html2canvas']
|
| 20 |
+
},
|
| 21 |
server: {
|
| 22 |
host: '127.0.0.1',
|
| 23 |
port: 5173,
|