Skip to content

Commit

Permalink
Transform local assignment (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
balloob committed Feb 12, 2024
1 parent df17909 commit 9b50ac6
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 7 deletions.
60 changes: 54 additions & 6 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-transform-logical-assignment-operators": "^7.23.4",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
Expand Down
5 changes: 4 additions & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ const config = {
}),
babel({
babelHelpers: "bundled",
plugins: ["@babel/plugin-proposal-class-properties"],
plugins: [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-logical-assignment-operators",
],
}),
json(),
],
Expand Down

0 comments on commit 9b50ac6

Please sign in to comment.