diff --git a/src/index.js b/src/index.js index 38fa73e..b27cda4 100644 --- a/src/index.js +++ b/src/index.js @@ -1,4 +1,6 @@ -import 'babel-polyfill'; +if (!window._babelPolyfill) { + require('babel-polyfill'); +} import API from './functions/api'; import webhook from './functions/webhook'; import poll from './functions/poll';