You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I wish I could preview and audit my release size #13189
Otherwise I could easily see my binary hitting 10s of Mbs, with no practical way to reduce without commenting out code/assets, rebuilding, and trying again.
Steps to Reproduce
Basically just the default application of flutter create then:
Consider this another vote for an extensible task/build system. flutter_tool can't be all things to all people, instead it should be extensible by our ecosystem. I don't have a solution in mind, but I do know that a logical next step for Flutter's ecosystem is an extensible task runner of some sort. Something that would allow users to install new tasks (like audit) from pub and then run flutter audit.
I'm always excited by opportunities to lay the groundwork for our ecosystem to flourish, and it seems like other ecosystems have flourished by extensible build/task runners.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
sethladd commentedon Nov 27, 2017
Thanks for the feedback!
Consider this another vote for an extensible task/build system.
flutter_toolcan't be all things to all people, instead it should be extensible by our ecosystem. I don't have a solution in mind, but I do know that a logical next step for Flutter's ecosystem is an extensible task runner of some sort. Something that would allow users to install new tasks (likeaudit) from pub and then runflutter audit.I'm always excited by opportunities to lay the groundwork for our ecosystem to flourish, and it seems like other ecosystems have flourished by extensible build/task runners.
sethladd commentedon Nov 27, 2017
cc @mit-mit @devoncarew
mit-mit commentedon Jan 2, 2018
Yes, some kind of extensibility model has been brought on many times. I opened #13834 to track it.
mit-mit commentedon Jan 2, 2018
Punting the present issue to milestone 4; this doesn't block beta.
eseidelGoogle commentedon Apr 21, 2018
https://github.com/flutter/flutter/issues/16191 might be an alternative?
jonahwilliams commentedon Sep 26, 2020
This can now be done (as much as is possible with iOS) via the new devtools code size tooling: https://flutter.dev/docs/development/tools/devtools/app-size
github-actions commentedon Aug 12, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.