Commit 23f6dcd9 authored by Yu's avatar Yu Committed by ι™ˆεΈ…

feat: use targets replace polyfills (#2450)

parent 90fc24f1
...@@ -43,6 +43,9 @@ export default { ...@@ -43,6 +43,9 @@ export default {
}, },
], ],
], ],
targets: {
ie: 11,
},
define: { define: {
APP_TYPE: process.env.APP_TYPE || '', APP_TYPE: process.env.APP_TYPE || '',
}, },
......
...@@ -79,8 +79,8 @@ ...@@ -79,8 +79,8 @@
"stylelint": "^9.4.0", "stylelint": "^9.4.0",
"stylelint-config-prettier": "^4.0.0", "stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.0.0", "stylelint-config-standard": "^18.0.0",
"umi": "^2.0.3", "umi": "^2.1.1",
"umi-plugin-react": "^1.0.3", "umi-plugin-react": "^1.1.1",
"umi-plugin-ga": "^1.0.3" "umi-plugin-ga": "^1.0.3"
}, },
"optionalDependencies": { "optionalDependencies": {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment