Skip to content

Commit 870f1e5

Browse files
committed
chore(scripts): follow postcss- plugin name convention [ci skip]
1 parent 11fbe10 commit 870f1e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

scripts/utils/postcss-inline-css-vars.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const isCssVar = (value: string) => value.includes("var(");
2020
*/
2121
export const postcssInlineCssVars = (): Plugin => {
2222
return {
23-
postcssPlugin: "postcss-plugin:inline-css-vars",
23+
postcssPlugin: "postcss-inline-css-vars",
2424
Once(root) {
2525
// Extract CSS variables from :root.
2626
let cssVars: Record<string, string> = {};

scripts/utils/postcss-scoped-styles.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type { Plugin } from "postcss";
1111
*/
1212
export const postcssScopedStyles = (moduleName: string): Plugin => {
1313
return {
14-
postcssPlugin: "postcss-plugin:scoped-styles",
14+
postcssPlugin: "postcss-scoped-styles",
1515
Once(root) {
1616
root.walkRules((rule) => {
1717
rule.selectors = rule.selectors.map((selector) => {

0 commit comments

Comments
 (0)