-
-
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 paths alias #1935
Comments
tsc, or babel (unless separate plugin specified) both doesn't transpile alias to runtime resolvable path and each tool like webpack / jest specifies way to resolve, may swc would leave as-is as well? for some cases, I expect |
Please please please - how do we fix this <3 |
I found that I had to use a .swcrc file with no paths during the build. BTW the --config-file flag didn't work for me.
|
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. |
Describe the bug
I try to get the typescript path aliases to work since it should be working right now on the
1.2.65
swc core version, am i doing something wrong ?Input code
api.ts
hello.ts
Tsconfig
Config
Expected behavior
It should replace the alias with a relative path
Version
1.2.65
The text was updated successfully, but these errors were encountered: