-
-
Notifications
You must be signed in to change notification settings - Fork 168
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
An alias '*': ['src/*']
and import '.'
in node_modules
resolves src/index.tsx
unexpectedly
#42
Comments
'*': ['src/*']
and import '.'
resolves src/index.tsx
unexpectedly'*': ['src/*']
and import '.'
in node_modules
resolves src/index.tsx
unexpectedly
esm-loader support |
Maybe should report to https://github.com/esbuild-kit/esm-loader instead then? |
I tried reproducing this but no luck. Also don't know what command you ran to make tsx read from a prettier plugin. Can you provide a minimal reproduction repository? |
I call prettier's API in a script import prettier from 'prettier'
await prettier.resolveConfig(process.cwd()) Then |
Yup, works fine for me. |
OK, I will try to create a reproduction then. |
https://github.com/JounQin/test/tree/tsx run
|
I'll leave this open till I add a test to prevent this, but should be fixed via https://github.com/privatenumber/get-tsconfig/releases/tag/v4.0.5 Run |
@privatenumber Thanks, it's working as expected now. |
🎉 This issue has been resolved in version 3.5.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
As title
More detail prettier/plugin-pug#398
The text was updated successfully, but these errors were encountered: