We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think that this is because source maps must be generated inline.
A fix for this was proposed in #632, which set's the source map as inline for jest if it is undefined however it is not undefined by default.
I'm configuring jest in package.json using the preset
"jest": { "preset": "@swc-node/jest", ... }
A workaround is to set it manually
"jest": { "transform": { "^.+\\.(t|j)sx?$": [ "@swc-node/jest", { "swc": { "sourceMaps": "inline" } } ] }, ... }
I notice that when reading tsconfig it is given a default value. This may be the problem.
swc-node/packages/register/read-default-tsconfig.ts
Lines 99 to 107 in 8c180e6
The text was updated successfully, but these errors were encountered:
Ran into the same issue, thanks for the workaround
Sorry, something went wrong.
No branches or pull requests
I think that this is because source maps must be generated inline.
A fix for this was proposed in #632, which set's the source map as inline for jest if it is undefined however it is not undefined by default.
I'm configuring jest in package.json using the preset
A workaround is to set it manually
I notice that when reading tsconfig it is given a default value. This may be the problem.
swc-node/packages/register/read-default-tsconfig.ts
Lines 99 to 107 in 8c180e6
The text was updated successfully, but these errors were encountered: