perf(web): remove the module preload polyfill

The preload links stay; browsers that ignore them fetch vendor when index imports it.
This commit is contained in:
imccyu
2026-08-15 01:31:37 +08:00
parent b6d0195d5f
commit ef249da2e9

View File

@@ -93,6 +93,7 @@ export default defineConfig({
plugins: [rejectStandaloneServe(), react()],
build: {
sourcemap: true,
modulePreload: { polyfill: false },
rollupOptions: {
output: {
// Output layout: the two main chunks stay at assets/ root; lazy