Skip to content

Commit

Permalink
chore: Update Babel plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
eemeli committed Feb 24, 2024
1 parent 9fc76fa commit b5fa4cb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 42 deletions.
8 changes: 4 additions & 4 deletions config/babel.config.js
Expand Up @@ -3,16 +3,16 @@ module.exports = {
{
test: /\.js$/,
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-nullish-coalescing-operator'
'@babel/plugin-transform-class-properties',
'@babel/plugin-transform-nullish-coalescing-operator'
]
},
{
test: /\.ts$/,
plugins: [
['@babel/plugin-transform-typescript', { allowDeclareFields: true }],
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-nullish-coalescing-operator'
'@babel/plugin-transform-class-properties',
'@babel/plugin-transform-nullish-coalescing-operator'
]
}
]
Expand Down
38 changes: 2 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -66,8 +66,8 @@
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-transform-class-properties": "^7.23.3",
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
"@babel/plugin-transform-typescript": "^7.12.17",
"@babel/preset-env": "^7.12.11",
"@rollup/plugin-babel": "^6.0.3",
Expand Down

0 comments on commit b5fa4cb

Please sign in to comment.