We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65f70e4 commit eea9f59Copy full SHA for eea9f59
packages/tailwindcss-language-server/src/util/v4/design-system.ts
@@ -37,7 +37,11 @@ export async function loadDesignSystem(
37
let resolved = await resolveCssImports().process(css, { from: filepath })
38
39
// Step 3: Take the resolved CSS and pass it to v4's `loadDesignSystem`
40
- let design = tailwindcss.__unstable__loadDesignSystem(resolved.css) as DesignSystem
+ let design: DesignSystem = await tailwindcss.__unstable__loadDesignSystem(resolved.css, {
41
+ loadPlugin() {
42
+ return () => {}
43
+ },
44
+ })
45
46
// Step 4: Augment the design system with some additional APIs that the LSP needs
47
Object.assign(design, {
0 commit comments