diff --git a/src/bootstrap.loader.js b/src/bootstrap.loader.js index 78bc9e16..6790e339 100644 --- a/src/bootstrap.loader.js +++ b/src/bootstrap.loader.js @@ -16,11 +16,12 @@ if (semver.lt(process.version, '4.0.0')) { Make sure it's installed in your 'node_modules/' directory. `); } - - if (isBabelLatest) { - require(babelLatest); - } else { - require(babelPrev); + if (!global._babelPolyfill) { + if (isBabelLatest) { + require(babelLatest); + } else { + require(babelPrev); + } } }