diff --git a/babel.config.js b/babel.config.js index 3a6c045d..e56adbcc 100644 --- a/babel.config.js +++ b/babel.config.js @@ -13,7 +13,12 @@ module.exports = (api) => { ], plugins: [ - process.env.BABEL_ENV !== "module" && "add-module-exports", + process.env.BABEL_ENV !== "module" && [ + "add-module-exports", + { + addDefaultProperty: true, + }, + ], [ "transform-inline-environment-variables", { include: ["BABEL_ENV", "ENV"] },