We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@source not
@source
1 parent bc215c2 commit 537b23dCopy full SHA for 537b23d
packages/tailwindcss-language-server/src/css/extract-source-directives.ts
@@ -6,7 +6,9 @@ export function extractSourceDirectives(sources: SourcePattern[]): Plugin {
6
postcssPlugin: 'extract-at-rules',
7
AtRule: {
8
source: ({ params }) => {
9
- let negated = false
+ let negated = /^not\s+/.test(params)
10
+
11
+ if (negated) params = params.slice(4).trimStart()
12
13
if (params[0] !== '"' && params[0] !== "'") return
14
0 commit comments