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
{{ message }}
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.
I am using NestJS together with @swc/cli. This morning I have updated to the 0.3.3 from 0.3.2 and all the exported files are ending in the .undefined extension. For example what before was dist/src/main.js now it is dist/src/main.undefined.
I have rolled back to 0.3.2 and everything works as expected.
v0.3.4 fixes the issue only if the consumer goes through the CLI.
If dir.ts is called directly, like many consumers do, we would experience the same issue, this is because prior v0.3.3 we had the default extension inside dir.ts. So event tho' I think it is better to pass the correct arguments when you interact with those files directly, I see it as breaking change.
I am using NestJS together with
@swc/cli
. This morning I have updated to the0.3.3
from0.3.2
and all the exported files are ending in the.undefined
extension. For example what before wasdist/src/main.js
now it isdist/src/main.undefined
.I have rolled back to
0.3.2
and everything works as expected.The bug must have been introduced in: 0e0d745
The text was updated successfully, but these errors were encountered: