mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-05 05:15:48 +00:00
Merge pull request #657 from clark800/fix-polyfill
Fix babel-polyfill require
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
// In node.js env, polyfill might be already loaded (from any npm package),
|
// In node.js env, polyfill might be already loaded (from any npm package),
|
||||||
// that's why we do this check.
|
// that's why we do this check.
|
||||||
if (!global._babelPolyfill) {
|
if (!global._babelPolyfill) {
|
||||||
require('babel-core/polyfill');
|
require('babel-polyfill');
|
||||||
}
|
}
|
||||||
|
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
|
|||||||
Reference in New Issue
Block a user