Просмотр исходного кода

perf(web): remove the module preload polyfill

The preload links stay; browsers that ignore them fetch vendor when index imports it.
imccyu 1 месяц назад
Родитель
Сommit
ef249da2e9
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      apps/web/vite.config.ts

+ 1 - 0
apps/web/vite.config.ts

@@ -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