Use the runtime transform instead of the polyfill.
This commit is contained in:
Родитель
1d319ff94b
Коммит
6db653d7e0
3
.babelrc
3
.babelrc
|
@ -1,3 +1,4 @@
|
|||
{
|
||||
"presets": ["es2015"]
|
||||
"presets": ["es2015"],
|
||||
"plugins": ["transform-runtime"]
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"nodegit",
|
||||
"regret"
|
||||
],
|
||||
"repository" : {
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/github/ohnogit.git"
|
||||
},
|
||||
|
@ -24,8 +24,9 @@
|
|||
"license": "BSD",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.7.5",
|
||||
"babel-polyfill": "^6.7.4",
|
||||
"babel-plugin-transform-runtime": "^6.7.5",
|
||||
"babel-preset-es2015": "^6.6.0",
|
||||
"babel-runtime": "^6.6.1",
|
||||
"jasmine": "^2.4.1",
|
||||
"temp": "^0.8.3",
|
||||
"tslint": "^3.7.4",
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require('babel-polyfill')
|
||||
|
||||
import ResourcePool from '../lib/resource-pool'
|
||||
|
||||
import {asyncIt, wait} from './async-spec-helpers'
|
||||
|
|
Загрузка…
Ссылка в новой задаче