-
-
Notifications
You must be signed in to change notification settings - Fork 532
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
Ability to turn off sourceMap #796
Comments
What's the use case or issue here? You linked to unrelated things. |
@blakeembrey they're related....let me clarify: #27 is about how default settings for source maps override any user settings. The person creating the other ticket considered it a bug, but someone stated that sourceMaps should always override user settings anyhow. I think that's bad, but understand that changes elsewhere in code is also needed. The create-react-app link is about why people would want to turn off source maps |
@staeke You're always welcome to submit a PR that'll add a flag to disable this behavior. My question is because it sounds like this is a feature request, but there hasn't been anyone with an issue that warrants this feature. But again, if you'd like to add it, I won't block on that. |
Looking forward to this feature. When running ts-node inside electron,
|
I dropped the require that you pointed out in #1533 altogether, and that fixes the issue. |
There is no way to turn off source maps as of now. See e.g. #27
Source maps are not always desired, and can make debugging a lot harder - see e.g. facebook/create-react-app#1557
Feature request: allow turning off. Suggested way by respecting tsconfig.json
The text was updated successfully, but these errors were encountered: