flutter / flutter/devtools

Build `dart2wasm`-compiled DevTools with `--minify` flag

Abierto
#9,620 4 comentarios 0 reacciones 0 asignados Ver en GitHub
dart2wasm P2
Lenguaje dominante
Dart
Estrellas
1.7k
Forks
404
Merge medio
6 d 17 h
PR fusionados (30 d)
18

Descripción

Currently we ship the unminified version of DevTools when compiled with dart2wasm: https://github.com/flutter/devtools/blob/22c619f23d1207f3c5162586dac71c5b8bbf84e8/tool/build_release.sh#L85

This is because:

1. with the `--no-minify-wasm` flag, we get detailed exception messages in our analytics
2. 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.