Skip to content

Commit a75348c

Browse files
Rename to @source
1 parent a1c0b5d commit a75348c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,20 @@ export async function loadDesignSystem(
7474
}
7575

7676
export async function loadConfig(filepath: string, css: string): Promise<string[]> {
77-
let contentRules: string[] = []
77+
let sourceRules: string[] = []
7878
await postcss([
7979
{
8080
postcssPlugin: 'extract-at-rules',
8181
AtRule: {
82-
content({ params }: AtRule) {
82+
source({ params }: AtRule) {
8383
if (params[0] !== '"' && params[0] !== "'") {
8484
return
8585
}
86-
contentRules.push(params.slice(1, -1))
86+
sourceRules.push(params.slice(1, -1))
8787
},
8888
},
8989
},
9090
]).process(css, { from: filepath })
9191

92-
return contentRules
92+
return sourceRules
9393
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@import 'tailwindcss';
2-
@content './*.bin';
2+
@source './*.bin';

0 commit comments

Comments
 (0)