-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Retain lines #1131
Comments
I am aware that sourcemaps are supposed to solve the original issue, but in large repositories with thousands of sourcemaps files uploading all of them on each release to a 3rd party error tracking software is slow. The time benefits obtained by switched from |
Closing this for now, this could be a possible enhancement, but not something we are looking for immediately. We may revisit this later if things are changing. |
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 feature
Babel has a feature where it can retain the same line numbers from the original source file.
This can be useful when you only use it to remove TS syntax, but keep the rest of the source file intact, and need to match line numbers from production error stack traces to original source code.
Is such a feature possible in
swc
, without degrading the performance?Babel plugin or link to the feature description
https://babeljs.io/docs/en/options#retainlines
The text was updated successfully, but these errors were encountered: