Browse Source

fix: support ie11 by close dynamicImport

pull/5238/head
陈帅 7 years ago
parent
commit
dba72b8d1a
  1. 10
      config/config.ts

10
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',

Loading…
Cancel
Save