Skip to content

Commit

Permalink
Update docs/plugin-bugfix-firefox-class-in-computed-class-key.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolo-ribaudo committed Apr 3, 2024
1 parent d461a79 commit 942420b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugin-bugfix-firefox-class-in-computed-class-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "@babel/plugin-bugfix-firefox-class-in-computed-class-key"
sidebar_label: bugfix-firefox-class-in-computed-class-key
---

This bugfix plugin transforms optional chaining operators to workaround a [SpiderMonkey bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1887677) with private class elements.
This bugfix plugin transforms classes inside computed keys of other classes to workaround a [SpiderMonkey bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1887677) with private class elements.

:::tip
This plugin is included in `@babel/preset-env`, and Babel will automatically enable this plugin for you when your `targets` are affected by the browser bug.
Expand Down

0 comments on commit 942420b

Please sign in to comment.