Skip to content

Commit

Permalink
fix: rename proposal to transform and display installation dependenci…
Browse files Browse the repository at this point in the history
…es (#2046)
  • Loading branch information
zhangpaopao0609 authored May 30, 2023
1 parent 8ca7590 commit cf355d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }],
],
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -125,4 +126,4 @@
"dependencies": {
"dayjs": "^1.10.7"
}
}
}

0 comments on commit cf355d1

Please sign in to comment.