Skip to content

Conversation

@mkustermann
Copy link
Member

@mkustermann mkustermann commented Aug 12, 2024

Cherry-pick request: #153308

Original CL:

This will make

  • flutter run have source maps enabled by default
  • flutter build have source maps disabled by default

which mirrors what happens already today with the js compilers.

For local development this works quite well - even better than with dart2js (see dart2js issues in [0]).
We do have some follow-up items for source maps in dart2wasm compiler, see [1]

[0] flutter/flutter/issues/151641
[1] dart-lang/sdk/issues/56232

This will make

* `flutter run` have source maps enabled by default
* `flutter build` have source maps disabled by default

which mirrors what happens already today with the js compilers.

For local development this works quite well - even better than with
dart2js (see dart2js issues in [0]).
We do have some follow-up items for source maps in dart2wasm compiler,
see [1]

[0]
[flutter/issues/151641](flutter#151641)
[1]
[dart-lang/sdk/issues/56232](dart-lang/sdk#56232)
@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Aug 12, 2024
@mkustermann mkustermann changed the title Emit source maps for wasm in flutter build web --wasm (#151643) [CP Stable] Emit source maps for wasm in flutter build web --wasm (#151643) Aug 12, 2024
@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 13, 2024
@auto-submit auto-submit bot merged commit ec5d407 into flutter:flutter-3.24-candidate.0 Aug 13, 2024
Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 21, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants