-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
fix: don't include source maps in release mode #22751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
runtime/shared.rs
Outdated
.map(|sm| sm.into_bytes().into()) | ||
} else { | ||
None | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should just fix this in deno_ast instead of landing this somewhat of a hack? It's a few lines of code change to fix it there and then we can do a quick patch release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can fix it in deno_ast right now. Just give me a few minutes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bumped deno_ast
This reverts commit 7718e90.
Due to bug in `deno_ast` the `source_map` setting is ignored and source map is always emitted. This is fixed by updating `deno_ast`.
Due to bug in
deno_ast
thesource_map
setting is ignored and source mapis always emitted. This is fixed by updating
deno_ast
.