Production readiness, SEO enhancements, and Engine V2 upgrades
This commit is contained in:
@@ -12,4 +12,17 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
output: {
|
||||
manualChunks(id) {
|
||||
if (id.includes('node_modules')) {
|
||||
if (id.includes('three')) return 'three-vendor';
|
||||
if (id.includes('react')) return 'react-vendor';
|
||||
return 'vendor';
|
||||
}
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user