diff --git a/config/config.js b/config/config.js index 3e2dfa472ea653292c40919f1e4fb60b8e31ccc4..82ae94222fce86b898c2a0bbec389572dce1519a 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: {