From 90fc24f1abf2911cc6e5502ab07d7b75792b2e3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Sat, 29 Sep 2018 18:09:39 +0800 Subject: [PATCH] change to new polyfills setting --- config/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: { -- GitLab