Skip to content

Commit a60cb60

Browse files
authored
Update core.js
Fix error #530
1 parent 82c54ed commit a60cb60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

3-
4-
require('babel-polyfill');
3+
if (!global._babelPolyfill)
4+
require('babel-polyfill');
55

66
let fs = require('fs');
77
var os = require('os');

0 commit comments

Comments
 (0)