Skip to content
This repository was archived by the owner on Dec 1, 2019. It is now read-only.

Commit e71f155

Browse files
committed
fix(*): babel polyfill require guard, refs #121, #133
1 parent 4b66ab7 commit e71f155

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/entry.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
require('source-map-support').install();
2-
require('babel-polyfill');
2+
3+
if (!global._babelPolyfill) {
4+
require('babel-polyfill');
5+
}
36

47
module.exports = require('./index');

0 commit comments

Comments
 (0)