Skip to content

Commit

Permalink
chore: add plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zombieJ committed Jan 9, 2025
1 parent 4da4eee commit 62cc6f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/getBabelCommonConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ module.exports = function (modules) {
resolve('@babel/plugin-proposal-class-properties'),
resolve('@babel/plugin-transform-classes'),
resolve('babel-plugin-transform-dev-warning'),
resolve('@babel/plugin-transform-private-methods'),
];
return {
presets: [
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-classes": "^7.20.7",
"@babel/plugin-transform-private-methods": "^7.25.9",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/plugin-transform-spread": "^7.20.7",
"@babel/plugin-transform-typescript": "^7.10.5",
Expand Down

0 comments on commit 62cc6f1

Please sign in to comment.