[ci] yarn format
This commit is contained in:
parent
73a43d9301
commit
40720b2c1e
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ export default function astroScopedStyles(options: AstroScopedOptions): Plugin {
|
||||||
return {
|
return {
|
||||||
postcssPlugin: '@astrojs/postcss-scoped-styles',
|
postcssPlugin: '@astrojs/postcss-scoped-styles',
|
||||||
Rule(rule) {
|
Rule(rule) {
|
||||||
if(!rulesScopedCache.has(rule)) {
|
if (!rulesScopedCache.has(rule)) {
|
||||||
rule.selector = scopeRule(rule.selector, options.className);
|
rule.selector = scopeRule(rule.selector, options.className);
|
||||||
rulesScopedCache.add(rule);
|
rulesScopedCache.add(rule);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue