You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 found that SWC mistakenly treats a folder with the
.js
suffix as a file, which introduces this bug:Note that the binary is downloaded from the GitHub Releases:
Input code
No response
Config
No response
Playground link (or link to the minimal reproduction)
https://github.com/pan93412/swc-minimum-repro
SWC Info output
Expected behavior
It should be able to build. For example, when I rename
chart.js
tocharts
:Actual behavior
Version
1.7.26
Additional context
No response
The text was updated successfully, but these errors were encountered: