-
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
Test-only transformers are unnecessarily loaded #17534
Comments
Are these transformers declared in dev_transformers? |
Looks like we haven't added support for those yet! I'm re-targeting this issue to be about them. Removed Pub-Build label. |
Removed Type-Defect label. |
Now that we already have logic in pub for optimizing based on $include/$exclude, I feel more comfortable leaving these transformers out based solely on those grounds. That also makes it clearer how entrypoint-only transformers interact with normal transformers. Set owner to @nex3. |
Fixed in r37925. Added Fixed label. |
This issue has been moved to dart-lang/pub#925. |
Looking at pub build for Angular, I see that it's spending about 10s loading transformers for DI, but DI is only using transformers for tests.
DI uses $include: test/auto_injector_test.dart to only apply to tests.
I would expect that it could be skipped entirely.
The text was updated successfully, but these errors were encountered: