Skip to content

Commit 70fbde1

Browse files
committed
fix(tailwind): Type issue with postcssCssVariables
1 parent 950c947 commit 70fbde1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/tailwind/src/utils/tailwind/generate-postcss-root-for-classes.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ const tailwindAtRulesRoot = postcss
1919
)
2020
.root();
2121

22-
const postcssVariablesProcessor = postcss([postcssCssVariables()]);
22+
const postcssVariablesProcessor = postcss([
23+
postcssCssVariables() as postcss.Plugin,
24+
]);
2325

2426
export const generatePostcssRootForClasses = (
2527
classes: string[],

0 commit comments

Comments
 (0)