diff --git a/.babelrc b/.babelrc index 6441110..8bc6431 100644 --- a/.babelrc +++ b/.babelrc @@ -8,5 +8,8 @@ } } ] + ], + "plugins": [ + "add-module-exports" ] } diff --git a/package.json b/package.json index b9c1b8b..e860524 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "devDependencies": { "@babel/cli": "7.13.10", "@babel/core": "7.13.10", - "@babel/preset-env": "7.13.10" + "@babel/preset-env": "7.13.10", + "babel-plugin-add-module-exports": "^1.0.4" } }