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:
parent
89b962557a
commit
5dbda0c09f
2 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.23.9",
|
"@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",
|
"@babel/preset-env": "^7.23.9",
|
||||||
"@commitlint/cli": "^18.6.1",
|
"@commitlint/cli": "^18.6.1",
|
||||||
"@commitlint/config-conventional": "^18.6.2",
|
"@commitlint/config-conventional": "^18.6.2",
|
||||||
|
|
|
@ -23,7 +23,7 @@ function build(filename) {
|
||||||
babel({
|
babel({
|
||||||
babelHelpers: 'bundled',
|
babelHelpers: 'bundled',
|
||||||
presets: ['@babel/env'],
|
presets: ['@babel/env'],
|
||||||
plugins: ['@babel/plugin-proposal-class-properties']
|
plugins: ['@babel/plugin-transform-class-properties']
|
||||||
}),
|
}),
|
||||||
license({
|
license({
|
||||||
banner: {
|
banner: {
|
||||||
|
|
Loading…
Reference in a new issue