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()],
|
plugins: [rejectStandaloneServe(), react()],
|
||||||
build: {
|
build: {
|
||||||
sourcemap: true,
|
sourcemap: true,
|
||||||
|
modulePreload: { polyfill: false },
|
||||||
rollupOptions: {
|
rollupOptions: {
|
||||||
output: {
|
output: {
|
||||||
// Output layout: the two main chunks stay at assets/ root; lazy
|
// Output layout: the two main chunks stay at assets/ root; lazy
|
||||||
|
|||||||
Reference in New Issue
Block a user