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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user