Skip to content

Commit a43763a

Browse files
committed
Use babel-polyfill package instead of babel/polyfill
1 parent a03b1e8 commit a43763a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"babel": "^5.5.3",
13+
"babel-polyfill": "^6.9.1",
1314
"jscs": "1.13.x",
1415
"jshint": "2.8.x",
1516
"mocha": "1.20.x",

src/core.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
if (!global._babelPolyfill) {
2-
require('babel/polyfill');
3-
}
1+
require('babel-polyfill');
42
let fs = require('fs');
53
let gonzales = require('gonzales-pe');
64
let minimatch = require('minimatch');

0 commit comments

Comments
 (0)