build(deps-dev): replace the deprecated libraries (#1559)

Replace `@babel/plugin-proposal-class-properties` with `@babel/plugin-transform-class-properties`

See: https://www.npmjs.com/package/@babel/plugin-proposal-class-properties
This commit is contained in:
Dongee Seo 2024-02-25 21:30:21 +09:00 committed by GitHub
parent 89b962557a
commit 5dbda0c09f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
},
"devDependencies": {
"@babel/core": "^7.23.9",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/preset-env": "^7.23.9",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.2",

View file

@ -23,7 +23,7 @@ function build(filename) {
babel({
babelHelpers: 'bundled',
presets: ['@babel/env'],
plugins: ['@babel/plugin-proposal-class-properties']
plugins: ['@babel/plugin-transform-class-properties']
}),
license({
banner: {