Merge pull request #657 from clark800/fix-polyfill

Fix babel-polyfill require
This commit is contained in:
Geert Weening
2015-11-25 11:38:52 -08:00

View File

@@ -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');