Browse Source

fix: support ie11 by close dynamicImport

陈帅 6 years ago
parent
commit
dba72b8d1a
1 changed files with 5 additions and 5 deletions
  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',