Skip to content

Commit

Permalink
chore: fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
mutu committed Aug 5, 2024
1 parent b9820ce commit a9a2f14
Show file tree
Hide file tree
Showing 4 changed files with 138 additions and 267 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"umi": "3.x"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@changesets/cli": "^2.26.1",
"@types/react": "17.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/gi-cli/templates/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ module.exports = (env, argv) => {
presets: ['@babel/env', '@babel/preset-react'],
plugins: [
['@babel/plugin-transform-class-properties', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
['@babel/plugin-transform-private-methods', { loose: true }],
['@babel/plugin-transform-private-property-in-object', { loose: true }],
['react-hot-loader/babel'],
],
},
Expand Down
Loading

0 comments on commit a9a2f14

Please sign in to comment.