Skip to content

Commit 1fffe50

Browse files
committed
Remove toCss helper
It’s not used
1 parent 7b22853 commit 1fffe50

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

packages/tailwindcss-language-server/src/util/v4/design-system.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,6 @@ export async function loadDesignSystem(
271271

272272
return roots
273273
},
274-
275-
toCss(nodes: postcss.Root | postcss.Node[]): string {
276-
return Array.isArray(nodes)
277-
? postcss.root({ nodes }).toString().trim()
278-
: nodes.toString().trim()
279-
},
280274
})
281275

282276
return design

packages/tailwindcss-language-service/src/util/v4/design-system.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,4 @@ export interface DesignSystem {
5959
export interface DesignSystem {
6060
dependencies(): Set<string>
6161
compile(classes: string[]): (postcss.Root | null)[]
62-
toCss(nodes: postcss.Root | postcss.Node[]): string
6362
}

0 commit comments

Comments
 (0)