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