Skip to content

Commit b5fa4cb

Browse files
committed
chore: Update Babel plugins
1 parent 9fc76fa commit b5fa4cb

3 files changed

Lines changed: 8 additions & 42 deletions

File tree

config/babel.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@ module.exports = {
33
{
44
test: /\.js$/,
55
plugins: [
6-
'@babel/plugin-proposal-class-properties',
7-
'@babel/plugin-proposal-nullish-coalescing-operator'
6+
'@babel/plugin-transform-class-properties',
7+
'@babel/plugin-transform-nullish-coalescing-operator'
88
]
99
},
1010
{
1111
test: /\.ts$/,
1212
plugins: [
1313
['@babel/plugin-transform-typescript', { allowDeclareFields: true }],
14-
'@babel/plugin-proposal-class-properties',
15-
'@babel/plugin-proposal-nullish-coalescing-operator'
14+
'@babel/plugin-transform-class-properties',
15+
'@babel/plugin-transform-nullish-coalescing-operator'
1616
]
1717
}
1818
]

package-lock.json

Lines changed: 2 additions & 36 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
},
6767
"devDependencies": {
6868
"@babel/core": "^7.12.10",
69-
"@babel/plugin-proposal-class-properties": "^7.12.1",
70-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
69+
"@babel/plugin-transform-class-properties": "^7.23.3",
70+
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
7171
"@babel/plugin-transform-typescript": "^7.12.17",
7272
"@babel/preset-env": "^7.12.11",
7373
"@rollup/plugin-babel": "^6.0.3",

0 commit comments

Comments
 (0)