fix: babel

This commit is contained in:
Sebastian Rindom
2021-05-31 14:02:50 +02:00
parent 577da11b98
commit 81960d5181
3 changed files with 3 additions and 4 deletions
@@ -15,7 +15,6 @@ function preset(context, options = {}) {
return {
presets: [r(`@babel/preset-env`)],
plugins: [
r(`@babel/plugin-proposal-optional-chaining`),
r(`babel-plugin-transform-typescript-metadata`),
r(`@babel/plugin-proposal-optional-chaining`),
[r(`@babel/plugin-proposal-decorators`), { legacy: true }],
-3
View File
@@ -1,3 +0,0 @@
{
"presets": [["babel-preset-medusa-package"]]
}
+3
View File
@@ -0,0 +1,3 @@
module.exports = {
presets: [["babel-preset-medusa-package"]],
};