Skip to content
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

Provide dart2js API to disable generating source maps #17403

Closed
munificent opened this issue Mar 11, 2014 · 3 comments
Closed

Provide dart2js API to disable generating source maps #17403

munificent opened this issue Mar 11, 2014 · 3 comments
Labels
closed-obsolete Closed as the reported issue is no longer relevant P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug web-dart2js

Comments

@munificent
Copy link
Member

Dart2js internally has a flag used to control whether or not source maps or generated, but the public API does not expose this. In pub, I don't want to generate source maps in a release build since that build doesn't include the source .dart code that the source map would point to.

I have a workaround, so it's not at all blocking, but it would be nice to not do the work to generate the source map if pub isn't going to write it.

@kasperl
Copy link

kasperl commented Mar 12, 2014

Added Triaged label.

@DartBot
Copy link

DartBot commented Dec 19, 2014

This comment was originally written by briangepper...@briangeppert.com


It'd also be nice to be able to force source maps to be generated for release builds.

@munificent munificent added Type-Enhancement P3 A lower priority bug or feature request web-dart2js labels Dec 19, 2014
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
@sigmundch sigmundch added the closed-obsolete Closed as the reported issue is no longer relevant label Jan 19, 2017
@sigmundch
Copy link
Member

I believe the --no-source-maps flag is now exposed, but let me know if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-obsolete Closed as the reported issue is no longer relevant P3 A lower priority bug or feature request type-enhancement A request for a change that isn't a bug web-dart2js
Projects
None yet
Development

No branches or pull requests

5 participants