-
Notifications
You must be signed in to change notification settings - Fork 52
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
Unable to disable source maps #73
Comments
It seems the issue is swc is not reading I have found that this issue is consistent whether using |
I haven't had time to investigate this yet but I am still seeing this bug on latest version @kdy1 - do you know the cause? |
No, I don't know how |
Reproduction using
@swc/cli@0.1.51
.scripts/.swcrc
contents:Steps:
node_modules/.bin/swc promiseSettledAggregate.ts -o dist/promiseSettledAggregate.js --config-file scripts/.swcrc
promiseSettledAggregate.js.map
indist
dist/promiseSettledAggregate.js.map
npm install @swc/cli@0.1.50
and re-run first step, and see now there is no longerpromiseSettledAggregate.js.map
Expected behaviour:
Only emit
promiseSettledAggregate.js.map
ifsourceMaps
is enabled in config file. Do not emit ifsourceMaps
is omitted or set tofalse
.The text was updated successfully, but these errors were encountered: