diff --git a/babel.config.js b/babel.config.js index 71e72d71383c81b174f9132d84c7f2aa8dbe1b7d..9ced748a9615f7b18ac5848792a648d324ea355b 100644 --- a/babel.config.js +++ b/babel.config.js @@ -52,6 +52,10 @@ module.exports = (api) => { case 'development': reactOptions.development = true; envOptions.debug = true; + + // We need Babel to not inject polyfills in dev, as this breaks `preval` files + envOptions.useBuiltIns = false; + envOptions.corejs = undefined; break; }