We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f7f452 commit de3b356Copy full SHA for de3b356
1 file changed
vite.config.ts
@@ -9,19 +9,8 @@ export default defineConfig(({ mode }) => ({
9
port: 8080,
10
},
11
plugins: [react()],
12
- build: {
13
- rollupOptions: {
14
- output: {
15
- manualChunks(id) {
16
- if (id.includes("node_modules")) {
17
- if (id.includes("react") || id.includes("react-dom"))
18
- return "react-vendor";
19
- return "vendor";
20
- }
21
- },
22
23
24
+ // Use Vite defaults for chunking to avoid potential execution order issues on some hosts
+ build: {},
25
resolve: {
26
alias: {
27
"@": path.resolve(__dirname, "./src"),
0 commit comments