Skip to content

Commit

Permalink
Add babel-polyfill to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyganch committed Feb 28, 2017
1 parent fa37c58 commit ecea23d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"node": ">= 0.10.0"
},
"dependencies": {
"babel-polyfill": "6.23.0",
"glob": "latest",
"gonzales-pe": "^3.4.7",
"minimatch": "3.0.2",
Expand Down
5 changes: 2 additions & 3 deletions src/core.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
'use strict';


if (!global._babelPolyfill) {
require('babel-polyfill');
}
require('babel-polyfill');

let fs = require('fs');
let gonzales = require('gonzales-pe');
let minimatch = require('minimatch');
Expand Down

0 comments on commit ecea23d

Please sign in to comment.