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
jsc.paths
transform produces absolute paths (Windows only)
#5165
Comments
Facing the same issue. Have you found a solution? |
Nope, had to go back to ttypescript and only use SWC for the frontend w/ webpack. |
Seems like this is fixed. I bought a Windows device and could reproduce this, but I couldn't reproduce it with a latest |
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
jsc.paths
transformation produces absolute paths instead of relative paths. This only occurs on Windows, the paths are relative when run on Linux.Example project: https://github.com/colin969/swc-issue-01-colin969
npm run build
for buildingInput code
No response
Config
Playground link
No response
Expected behavior
./build/main.js output of
Actual behavior
./build/main.js output of
Where
C:/Data/Projects/swc-bug
is the project pathVersion
1.2.211
Additional context
No response
The text was updated successfully, but these errors were encountered: