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 // default true, when it is true, will use `navigator.language` overwrite default
baseNavigator: true, baseNavigator: true,
}, },
dynamicImport: { // dynamicImport: {
loadingComponent: './components/PageLoading/index', // loadingComponent: './components/PageLoading/index',
webpackChunkName: true, // webpackChunkName: true,
level: 3, // level: 3,
}, // },
pwa: pwa pwa: pwa
? { ? {
workboxPluginMode: 'InjectManifest', workboxPluginMode: 'InjectManifest',

Loading…
Cancel
Save