File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/tailwindcss-language-server
tests/fixtures/v4/custom-content/web Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -74,20 +74,20 @@ export async function loadDesignSystem(
74
74
}
75
75
76
76
export async function loadConfig ( filepath : string , css : string ) : Promise < string [ ] > {
77
- let contentRules : string [ ] = [ ]
77
+ let sourceRules : string [ ] = [ ]
78
78
await postcss ( [
79
79
{
80
80
postcssPlugin : 'extract-at-rules' ,
81
81
AtRule : {
82
- content ( { params } : AtRule ) {
82
+ source ( { params } : AtRule ) {
83
83
if ( params [ 0 ] !== '"' && params [ 0 ] !== "'" ) {
84
84
return
85
85
}
86
- contentRules . push ( params . slice ( 1 , - 1 ) )
86
+ sourceRules . push ( params . slice ( 1 , - 1 ) )
87
87
} ,
88
88
} ,
89
89
} ,
90
90
] ) . process ( css , { from : filepath } )
91
91
92
- return contentRules
92
+ return sourceRules
93
93
}
Original file line number Diff line number Diff line change 1
1
@import 'tailwindcss' ;
2
- @content './*.bin' ;
2
+ @source './*.bin' ;
You can’t perform that action at this time.
0 commit comments