summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
index a10eba77a..7ee20fb6d 100644
--- a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
+++ b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
@@ -100,7 +100,7 @@ export default function astroScopedStyles(options: AstroScopedOptions): Plugin {
return {
postcssPlugin: '@astrojs/postcss-scoped-styles',
Rule(rule) {
- if(!rulesScopedCache.has(rule)) {
+ if (!rulesScopedCache.has(rule)) {
rule.selector = scopeRule(rule.selector, options.className);
rulesScopedCache.add(rule);
}