diff --git a/babel.config.js b/babel.config.js index dd4e3d695..b30cffacc 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,6 +3,6 @@ module.exports = { presets: [['@babel/preset-env', { targets: { node: 'current' } }], '@babel/preset-typescript'], plugins: [ ['@babel/plugin-proposal-decorators', { legacy: true }], - ['@babel/plugin-proposal-class-properties', { loose: true }], + ['@babel/plugin-transform-class-properties', { loose: true }], ], }; diff --git a/package.json b/package.json index 68e2b08f7..55491f0c1 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "devDependencies": { "@babel/core": "^7.12.10", "@babel/plugin-proposal-decorators": "^7.18.9", + "@babel/plugin-transform-class-properties": "^7.22.3", "@babel/preset-env": "^7.12.11", "@babel/preset-typescript": "^7.12.7", "@commitlint/cli": "^16.0.2", @@ -125,4 +126,4 @@ "dependencies": { "dayjs": "^1.10.7" } -} \ No newline at end of file +}