From 6d49b50629b33cbac9b5ad9e0af298a64d8f766c Mon Sep 17 00:00:00 2001 From: Rintaro Itokawa Date: Tue, 16 Jun 2026 23:49:06 +0900 Subject: [PATCH] docs: document default core-js version fallback for coreJs option --- apps/website/content/docs/configuration/supported-browsers.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/website/content/docs/configuration/supported-browsers.mdx b/apps/website/content/docs/configuration/supported-browsers.mdx index 7b669796..e8b26d1e 100644 --- a/apps/website/content/docs/configuration/supported-browsers.mdx +++ b/apps/website/content/docs/configuration/supported-browsers.mdx @@ -96,6 +96,8 @@ Define ES features to skip to reduce bundle size. For example, your `.swcrc` cou The option has an effect when used alongside `mode: "usage"` or `mode: "entry"`. It is recommended to specify the minor version (E.g. `"3.22"`) otherwise `"3"` will be interpreted as `"3.0"` which may not include polyfills for the latest features. +When `coreJs` is `undefined`, SWC falls back to `core-js@3.0.0`. + ## Additional Options - `debug`: (_boolean_) defaults to `false`.