14 lines
535 B
JavaScript
14 lines
535 B
JavaScript
import "core-js/shim";
|
|
import "regenerator-runtime/runtime";
|
|
|
|
if (global._babelPolyfill && typeof console !== "undefined" && console.warn) {
|
|
console.warn(
|
|
"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended " +
|
|
"and may have consequences if different versions of the polyfills are applied sequentially. " +
|
|
"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict " +
|
|
"instead to bypass the warning.",
|
|
);
|
|
}
|
|
|
|
global._babelPolyfill = true;
|