Merge "Use babel-plugin-transform-runtime instead of babel-polyfill"
This commit is contained in:
commit
a9bac97fab
3
.babelrc
3
.babelrc
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"presets": ["es2015"]
|
||||
"presets": ["es2015"],
|
||||
"plugins": ["transform-runtime"]
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
"license": "Apache-2.0",
|
||||
"homepage": "http://www.openstack.org/",
|
||||
"dependencies": {
|
||||
"babel-polyfill": "^6.9.1",
|
||||
"babel-runtime": "^6.11.6",
|
||||
"isomorphic-fetch": "^2.2.1",
|
||||
"loglevel": "^1.4.1"
|
||||
},
|
||||
|
@ -38,6 +38,7 @@
|
|||
"babel-core": "^6.10.4",
|
||||
"babel-loader": "^6.2.4",
|
||||
"babel-plugin-transform-inline-environment-variables": "^6.8.0",
|
||||
"babel-plugin-transform-runtime": "^6.15.0",
|
||||
"babel-preset-es2015": "^6.9.0",
|
||||
"babel-register": "^6.9.0",
|
||||
"eslint": "^3.0.0",
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import 'babel-polyfill';
|
||||
import 'isomorphic-fetch';
|
||||
|
||||
export default class Test {
|
||||
|
|
Loading…
Reference in New Issue