Skip to content

Commit

Permalink
babel-preset-default: enable the bugfixes option for preset-env (#50994)
Browse files Browse the repository at this point in the history
* babel-preset-default: enable the bugfixes option for preset-env

* Add changelog entry

* Update test snapshot for optional chaining

* Upgrade terser-webpack-plugin and terser
  • Loading branch information
jsnajdr authored May 26, 2023
1 parent 429d52e commit 4112155
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 110 deletions.
234 changes: 130 additions & 104 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@
"storybook-source-link": "2.0.4",
"strip-json-comments": "5.0.0",
"style-loader": "3.2.1",
"terser-webpack-plugin": "5.1.4",
"terser-webpack-plugin": "5.3.9",
"typescript": "4.9.5",
"uglify-js": "3.13.7",
"uuid": "8.3.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/babel-preset-default/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### Enhancement

- Enable the `bugfixes` option in `@babel/preset-env` to remove unneeded transpilation ([#50994](https://github.com/WordPress/gutenberg/pull/50994)).

## 7.18.0 (2023-05-24)

## 7.17.0 (2023-05-10)
Expand Down
Loading

0 comments on commit 4112155

Please sign in to comment.