From 389d25b03ab6153489d8e66d47caaf33e79d01a2 Mon Sep 17 00:00:00 2001 From: Jared White Date: Sun, 27 Oct 2024 10:33:08 -0700 Subject: [PATCH] Update readme because `@scope` isn't in Firefox yet --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 15d930c..2eed674 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ htmlModulesPlugin({ ## Transforming Styles > [!WARNING] -> The `extractScopedStyles: true` experimental option was removed in v0.8. We recommend you use the newer `@scope` standard in a global stylesheet if you want to author "scoped" light DOM styles. +> The `extractScopedStyles: true` experimental option was removed in v0.8. We recommend you use the usual CSS nesting—or soon, the newer `@scope` standard—in a global stylesheet if you want to author "scoped" light DOM styles. If you define `extractGlobalStyles: true`, then any `style` tag featuring a `scope="global"` attribute or a `global` boolean attribute will have those styles extracted out of there and included in esbuild's CSS bundle output.