-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Typescript Path Alias supporting #379
Comments
hello, can i take on this issue? |
Of course, thank you in advance. |
attached the documentation to the future. |
Thanks for your great project.I'm using nestjs monorepo https://docs.nestjs.com/cli/monorepo, it uses |
@wxs77577 I'll implement this with a new minor version of swc. (Finally, I have an idea how to implement it correctly) |
@wxs77577 Do you use swc via |
I just use swc cli. |
@kdy1 I saw that you closed the associated PR. Any plans for implementing this? |
Yes, but I'm too busy these days. |
I started working on this, and I'm not sure if it's correct to support both of babel rewriter and tsconfig rewriter. |
This is still not working for es6. cjs works fine, it seems. |
Can you file a new issue? |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Hi, I am trying to bring
swc-loader
into my daily job, based on the current working stack:React with typescript
, then I encountered a problem which is thepath alias(resolving)
in
tsconfig.json
I mapped the paths like this:when I changed the
babel-loader
toswc-loader
, the path alias (resolving) seems not working anymore:I wonder that maybe, if swc compiler can read the configurations from the local
tsconfig.json
, and match the functionality?Any help would be very much appreciated. Thanks.
The text was updated successfully, but these errors were encountered: