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

Only bundle assets and plugins from transitive closure of dependencies #160443

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

sigurdm
Copy link
Contributor

@sigurdm sigurdm commented Dec 17, 2024

Fixes dart-lang/pub#4473
Fixes #79261
Fixes #160142
Fixes #155242

We could have used pub deps to obtain the dependency graph, but given the fact that we already read all the pubspec.yaml files to gather assets, we might as well use those directly, and avoid a process invocation.

Not sure if we should also bundle assets from dev_dependencies - not doing it might be breaking something - it would not be hard to change.

@github-actions github-actions bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Dec 17, 2024
@bkonyi bkonyi requested review from andrewkolos and bkonyi December 19, 2024 21:28
@sigurdm sigurdm force-pushed the only_bundle_assets_from_dependencies branch from 1024789 to 95ce951 Compare December 20, 2024 09:15
@sigurdm sigurdm changed the title Only bundle assets from transitive closure of dependencies Only bundle assets and plugins from transitive closure of dependencies Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tool Affects the "flutter" command-line tool. See also t: labels.
Projects
None yet
1 participant