-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Make VM prefer .dart_tool
over .packages
.
#41748
Comments
Yes. There won't be any |
Thanks for the confirmation, @lrhn I have filed flutter/flutter#56289 for the flutter team to take this on. Will re-classify this issue as |
Isolate.packageConfig
API semantics.dart_tool
over .packages
.
Flutter has moved to Lasse's new package, so we should be unblocked on preferring to use the new Made CL: https://dart-review.googlesource.com/c/sdk/+/146840 |
The VM will start to support
.dart_tool/package_config.json
for resolving package Uris in various scenarios.We do have a
Isolate.packageConfig
API indart:isolate
which says atm:Now the question is: Should this getter return a Uri to
.dart_tool/package_config.json
if the VM is using it for package resolution? Or should we expose a newget packageJsonConfig
getter?Right now there are a few packages out there, e.g.
package:package_resolver
which invoke this getter and expect the file at that Uri to be of.packages
format (and not the json format). This package is in fact used by e.g. flutter atm (see /src/flutter/lib/web_ui/dev/test_platform.dart)Those packages will break once the VM favors
.dart_tool/package_config.json
over.packages
.The text was updated successfully, but these errors were encountered: