feat(website): reduce white screen time

This commit is contained in:
Simon
2026-03-03 21:05:16 +08:00
parent b4b9f6ce2d
commit dcc6cd1cf3
4 changed files with 68 additions and 10 deletions

View File

@@ -64,6 +64,12 @@ export default defineConfig(({ mode }) => ({
if (message.code === 'EVAL') return
handler(message)
},
output: {
manualChunks: {
vendor: ['react', 'react-dom', 'wouter'],
'page-agent': ['page-agent'],
},
},
},
},
resolve: {