Currently we ship the unminified version of DevTools when compiled with dart2wasm:
This is because:
- with the
--no-minify-wasm flag, we get detailed exception messages in our analytics
- since all of the DevTools assets are served from the developer's local machine, the code size shouldn't affect IPL time too much
However, we would like to switch to using the minified version after the initial stable release with dart2wasm as default (Dart 3.11 / Flutter 3.41)
@mkustermann @osa1 are currently working on adding to decode production errors with the minified dart2wasm build, so as part of switching to the minified version we should also configure DevTools to use this tooling.
Currently we ship the unminified version of DevTools when compiled with dart2wasm:
devtools/tool/build_release.sh
Line 85 in 22c619f
This is because:
--no-minify-wasmflag, we get detailed exception messages in our analyticsHowever, we would like to switch to using the minified version after the initial stable release with dart2wasm as default (Dart 3.11 / Flutter 3.41)
@mkustermann @osa1 are currently working on adding to decode production errors with the minified dart2wasm build, so as part of switching to the minified version we should also configure DevTools to use this tooling.