Skip to content

Commit 904408c

Browse files
More fixes
1 parent 446e6be commit 904408c

File tree

4 files changed

+3
-15
lines changed

4 files changed

+3
-15
lines changed

packages/tailwindcss-language-server/src/project-locator.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,6 @@ export class ProjectLocator {
130130
private async createProject(config: ConfigEntry): Promise<ProjectConfig | null> {
131131
let tailwind = await this.detectTailwindVersion(config)
132132

133-
console.log(JSON.stringify({ tailwind }))
134-
135133
// A JS/TS config file was loaded from an `@config`` directive in a CSS file
136134
if (config.type === 'js' && config.source === 'css') {
137135
// We only allow local versions of Tailwind to use `@config` directives
@@ -540,16 +538,6 @@ async function* detectContentFiles(
540538
pattern,
541539
})),
542540
})
543-
console.log(
544-
{
545-
base,
546-
sources: inputGlobs.map((pattern) => ({
547-
base: path.dirname(inputFile),
548-
pattern,
549-
})),
550-
},
551-
{ files, globs, candidates },
552-
)
553541

554542
for (let file of files) {
555543
yield normalizePath(file)
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';

packages/tailwindcss-language-server/tests/fixtures/v4/custom-source/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"tailwindcss": "file:/Users/philipp/dev/tailwindcss/dist/tailwindcss.tgz"
3+
"tailwindcss": "^4.0.0-alpha.18"
44
}
55
}

0 commit comments

Comments
 (0)