diff --git a/config/config.js b/config/config.js index 3e2dfa47..82ae9422 100644 --- a/config/config.js +++ b/config/config.js @@ -14,6 +14,9 @@ export default { dva: { hmr: true, }, + targets: { + ie: 9, + }, locale: { enable: true, // default false default: 'zh-CN', // default zh-CN @@ -22,7 +25,6 @@ export default { dynamicImport: { loadingComponent: './components/PageLoading/index', }, - polyfills: ['ie11'], ...(!process.env.TEST && os.platform() === 'darwin' ? { dll: {