Merge pull request #2959 from swagger-api/feature/remove-babel-polyfill
Replace babel-polyfill with transform-runtime
Showing
此差异已折叠。
... | ... | @@ -35,7 +35,6 @@ |
"just-test-in-node": "mocha --recursive --compilers js:babel-core/register test/core test/components test/bugs test/swagger-ui-dist-package" | ||
}, | ||
"dependencies": { | ||
"babel-polyfill": "^6.23.0", | ||
"base64-js": "^1.2.0", | ||
"brace": "0.7.0", | ||
"deep-extend": "0.4.1", | ||
... | ... | @@ -83,6 +82,7 @@ |
"babel-eslint": "^7.1.1", | ||
"babel-loader": "^6.3.2", | ||
"babel-plugin-module-alias": "^1.6.0", | ||
"babel-plugin-transform-runtime": "^6.23.0", | ||
"babel-preset-es2015": "^6.22.0", | ||
"babel-preset-es2015-ie": "^6.6.2", | ||
"babel-preset-react": "^6.23.0", | ||
... | ... | @@ -132,7 +132,7 @@ |
"browserslist": [ | ||
"> 1%", | ||
"last 2 versions", | ||
"IE 10" | ||
"IE 11" | ||
], | ||
"optionalDependencies": { | ||
"webpack-dev-server": "1.14.0" | ||
... | ... |
src/polyfills.js
0 → 100644
想要评论请 注册 或 登录