Skip to content

Commit

Permalink
chore: replace babel class-properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Aarebecca committed Jul 31, 2024
1 parent 8b06c37 commit 2d8012c
Show file tree
Hide file tree
Showing 5 changed files with 32,323 additions and 23,748 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@babel/plugin-transform-class-properties": "^7.24.7",
"@changesets/cli": "^2.26.1",
"@types/react": "17.x",
"@types/react-dom": "17.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-assets-testing/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = (env, argv) => {
loader: 'babel-loader',
options: {
presets: ['@babel/env', '@babel/preset-react'],
plugins: [['@babel/plugin-proposal-class-properties', { loose: true }], ['react-hot-loader/babel']],
plugins: [['@babel/plugin-transform-class-properties', { loose: true }], ['react-hot-loader/babel']],
},
},
{
Expand Down
2 changes: 1 addition & 1 deletion packages/gi-cli/templates/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ module.exports = (env, argv) => {
options: {
presets: ['@babel/env', '@babel/preset-react'],
plugins: [
['@babel/plugin-proposal-class-properties', { loose: true }],
['@babel/plugin-transform-class-properties', { loose: true }],
['@babel/plugin-proposal-private-methods', { loose: true }],
['@babel/plugin-proposal-private-property-in-object', { loose: true }],
['react-hot-loader/babel'],
Expand Down
Loading

0 comments on commit 2d8012c

Please sign in to comment.