Skip to content

Commit 2a3f983

Browse files
committed
Restore @babel/plugin-transform-class-properties to fix HTML report
1 parent 42d71d8 commit 2a3f983

File tree

3 files changed

+41
-38
lines changed

3 files changed

+41
-38
lines changed

package-lock.json

Lines changed: 39 additions & 38 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"devDependencies": {
4949
"@babel/core": "7.26.9",
5050
"@babel/plugin-proposal-decorators": "7.25.9",
51+
"@babel/plugin-transform-class-properties": "^7.27.1",
5152
"@babel/plugin-transform-runtime": "7.26.9",
5253
"@babel/preset-env": "7.26.9",
5354
"@babel/preset-react": "7.26.3",

webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ module.exports = opts => {
7777
plugins: [
7878
'lodash',
7979
['@babel/plugin-proposal-decorators', {legacy: true}],
80+
['@babel/plugin-transform-class-properties', {loose: true}],
8081
['@babel/plugin-transform-runtime', {
8182
useESModules: true
8283
}]

0 commit comments

Comments
 (0)