diff --git a/babel.config.js b/babel.config.js index fb3ade8..0673180 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,4 +3,5 @@ module.exports = { presets: [ '@babel/preset-env' ], + plugins: ["@babel/plugin-transform-class-properties"] }; diff --git a/package.json b/package.json index 65911db..ccb431b 100644 --- a/package.json +++ b/package.json @@ -37,6 +37,7 @@ "devDependencies": { "@babel/core": "^7.12.10", "@babel/preset-env": "^7.12.11", + "@babel/plugin-transform-class-properties": "^7.18.6", "@rollup/plugin-babel": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.0", "@rollup/plugin-terser": "^0.4.4",