Skip to content

Commit 2c981a3

Browse files
Fix detection of v3 insiders builds (#1007)
* Fix detection of v3 insiders builds * Update changelog
1 parent b8ba251 commit 2c981a3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

packages/tailwindcss-language-service/src/features.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ export type Feature =
2222
export function supportedFeatures(version: string): Feature[] {
2323
let features: Feature[] = []
2424

25-
if (semver.gte(version, '4.0.0-alpha.1')) {
25+
let isInsidersV3 = version.startsWith('0.0.0-insiders')
26+
27+
if (!isInsidersV3 && semver.gte(version, '4.0.0-alpha.1')) {
2628
return ['css-at-theme', 'layer:base', 'content-list']
2729
}
2830

29-
if (version.startsWith('0.0.0-oxide')) {
31+
if (!isInsidersV3 && version.startsWith('0.0.0-oxide')) {
3032
return ['css-at-theme', 'layer:base', 'content-list']
3133
}
3234

packages/vscode-tailwindcss/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prerelease
44

5-
- Nothing yet!
5+
- Fix detection of v3 insiders builds ([#1007](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1007))
66

77
## 0.12.3
88

0 commit comments

Comments
 (0)