perf(dart/transform): Only process deferred libs when necessary#6745
perf(dart/transform): Only process deferred libs when necessary#6745kegluneq wants to merge 1 commit intoangular:masterfrom
Conversation
There was a problem hiding this comment.
Sidenote, but can this be deleted now?
There was a problem hiding this comment.
ah ok thats just not merged yet, makes sense
|
LGTM, after offline discussions |
…nput Issue raised in PR angular#6745. Previously, the transformer name conversion functions could return the input string on unexpected input, which is almost certainly an error. `throw` in this case instead, so we know early that something has likely gone wrong.
|
Merging PR #6745 on behalf of @alexeagle to branch presubmit-alexeagle-pr-6745. |
|
Merging PR #6745 on behalf of @alexeagle to branch presubmit-alexeagle-pr-6745. |
|
Merging PR #6745 on behalf of @alexeagle to branch presubmit-alexeagle-pr-6745. |
Previously, every .dart file in a package was processed to ensure proper initialization of deferred loaded libraries. Update the transformer to avoid processing libraries which we know do not import any deferred libraries.
b3608b7 to
798576e
Compare
|
This had a merge conflict with #6711. It is now fixed & ready to merge (assuming Travis is happy) |
|
Merging PR #6745 on behalf of @alexeagle to branch presubmit-alexeagle-pr-6745. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
/cc @vsavkin, @yjbanov
Previously, every .dart file in a package was processed to ensure proper
initialization of deferred loaded libraries.
Update the transformer to avoid processing libraries which we know do
not import any deferred libraries.