We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch vite-plugin-legacy-swc@0.4.0 for the project I'm working on.
vite-plugin-legacy-swc@0.4.0
It seems like the "types" export is missing, causing issues with typescript when using moduleResolution: "NodeNext"
moduleResolution: "NodeNext"
Here is the diff that solved my problem:
diff --git a/node_modules/vite-plugin-legacy-swc/package.json b/node_modules/vite-plugin-legacy-swc/package.json index 62cbde3..f35c247 100644 --- a/node_modules/vite-plugin-legacy-swc/package.json +++ b/node_modules/vite-plugin-legacy-swc/package.json @@ -8,6 +8,7 @@ "types": "./dist/index.d.ts", "exports": { ".": { + "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" }
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered:
You are right. Feedback is greatly appreciated and I will fix it.
Sorry, something went wrong.
Fixed in v0.4.1.
No branches or pull requests
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
vite-plugin-legacy-swc@0.4.0
for the project I'm working on.It seems like the "types" export is missing, causing issues with typescript when using
moduleResolution: "NodeNext"
Here is the diff that solved my problem:
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: