Skip to content

Commit

Permalink
feat(*): add rootRule in rulesSelectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Обмочевский Владислав Вячеславович authored and Обмочевский Владислав Вячеславович committed Dec 5, 2024
1 parent 834daed commit 53896eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const postCssGlobalVariables: PluginCreator<PluginOptions> = (opts?: PluginOptio
const rootRule = insertParsedCss(root, parsedVariables, parsedCustomMedia);

root.append(rootRule);
rulesSelectors.add(rootRule)
},
OnceExit(): void {
rulesSelectors.forEach((rule) => {
Expand Down

0 comments on commit 53896eb

Please sign in to comment.