remove polyfill from src

This commit is contained in:
Zhang Zengbo
2018-10-11 11:57:33 +08:00
parent e5ca122dc0
commit 0e5f0fb9ff
3 changed files with 12 additions and 3 deletions
+10 -1
View File
@@ -6,5 +6,14 @@
}
}],
"stage-1"
]
],
"plugins": [
[
"transform-runtime",
{
"polyfill": false,
"regenerator": true
}
]
]
}
+2 -1
View File
@@ -24,13 +24,14 @@
},
"dependencies": {
"@types/jest": "^23.3.1",
"babel-polyfill": "^6.26.0",
"babel-runtime": "^6.26.0",
"eosjs-ecc": "^4.0.1",
"text-encoding": "^0.6.4"
},
"devDependencies": {
"@types/node": "^10.3.1",
"babel-cli": "^6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-1": "^6.24.1",
"jest": "^23.5.0",
-1
View File
@@ -1,4 +1,3 @@
import "babel-polyfill";
import Api from "./eosjs-api";
import * as ApiInterfaces from "./eosjs-api-interfaces";
import JsonRpc from "./eosjs-jsonrpc";