소스 검색

feat: use targets replace polyfills (#2450)

Yu 7 년 전
부모
커밋
23f6dcd95c
2개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 0
      config/config.js
  2. 2 2
      package.json

+ 3 - 0
config/config.js

@@ -43,6 +43,9 @@ export default {
       },
     ],
   ],
+  targets: {
+    ie: 11,
+  },
   define: {
     APP_TYPE: process.env.APP_TYPE || '',
   },

+ 2 - 2
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": {