From 23f6dcd95c6cc6137a94f5b1b4a92c74678c27b2 Mon Sep 17 00:00:00 2001 From: Yu Date: Sat, 29 Sep 2018 18:25:01 +0800 Subject: [PATCH] feat: use targets replace polyfills (#2450) --- config/config.js | 3 +++ package.json | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/config/config.js b/config/config.js index 82ae9422..04661083 100644 --- a/config/config.js +++ b/config/config.js @@ -43,6 +43,9 @@ export default { }, ], ], + targets: { + ie: 11, + }, define: { APP_TYPE: process.env.APP_TYPE || '', }, diff --git a/package.json b/package.json index feef545f..70e5a507 100644 --- a/package.json +++ b/package.json @@ -79,8 +79,8 @@ "stylelint": "^9.4.0", "stylelint-config-prettier": "^4.0.0", "stylelint-config-standard": "^18.0.0", - "umi": "^2.0.3", - "umi-plugin-react": "^1.0.3", + "umi": "^2.1.1", + "umi-plugin-react": "^1.1.1", "umi-plugin-ga": "^1.0.3" }, "optionalDependencies": { -- GitLab