diff --git a/config/config.js b/config/config.js index 82ae94222fce86b898c2a0bbec389572dce1519a..0466108356a2eeb35802f9db8ff8b163c370f7fd 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 feef545f5df539b5fee222794b70c922fff1e9bc..70e5a50756cfbbe1524b3043e52995264e27a51b 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": {