Skip to content

fix(language-service): allow native esm to import package #1122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Feb 4, 2025
Merged

fix(language-service): allow native esm to import package #1122

merged 5 commits into from
Feb 4, 2025

Conversation

AviVahl
Copy link
Contributor

@AviVahl AviVahl commented Jan 14, 2025

with this patch, @tailwindcss/language-service can be imported/used in Node.js in native esm mode.

adjusted "semver" imports to include an extension, as that package has no "exports".

also upgrade semver to latest stable (7.6.3)

with this patch, `@tailwindcss/language-service` can be imported/used in Node.js in native esm mode.

adjusted "semver" imports to include an extension, as that package has no "exports".

also upgrade semver to latest stable (7.6.3)
@thecrypticace thecrypticace self-assigned this Jan 21, 2025
@thecrypticace thecrypticace merged commit bdd9605 into tailwindlabs:main Feb 4, 2025
@thecrypticace
Copy link
Contributor

Thanks! This fix will go out once I do another release.

@Rashelle
Copy link

Was looking for exactly that! @AviVahl 👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants