Parcourir la source

fix: support ie11 by close dynamicImport

陈帅 il y a 6 ans
Parent
commit
dba72b8d1a
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      config/config.ts

+ 5 - 5
config/config.ts

@@ -25,11 +25,11 @@ const plugins: IPlugin[] = [
         // default true, when it is true, will use `navigator.language` overwrite default
         baseNavigator: true,
       },
-      dynamicImport: {
-        loadingComponent: './components/PageLoading/index',
-        webpackChunkName: true,
-        level: 3,
-      },
+      // dynamicImport: {
+      //   loadingComponent: './components/PageLoading/index',
+      //   webpackChunkName: true,
+      //   level: 3,
+      // },
       pwa: pwa
         ? {
             workboxPluginMode: 'InjectManifest',