From 942420b018cec349ebb2b3bc8aa97762957be571 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=B2=20Ribaudo?= Date: Wed, 3 Apr 2024 17:29:01 +0200 Subject: [PATCH] Update docs/plugin-bugfix-firefox-class-in-computed-class-key.md --- docs/plugin-bugfix-firefox-class-in-computed-class-key.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/plugin-bugfix-firefox-class-in-computed-class-key.md b/docs/plugin-bugfix-firefox-class-in-computed-class-key.md index 0981ea7327..84082a515e 100644 --- a/docs/plugin-bugfix-firefox-class-in-computed-class-key.md +++ b/docs/plugin-bugfix-firefox-class-in-computed-class-key.md @@ -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.