-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Create external symbol factory reexports #29459
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
Create external symbol factory reexports #29459
Conversation
15b05cb
to
e086a9e
Compare
e086a9e
to
72a43b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
"@npm//@angular/common", | ||
"@npm//@angular/core", | ||
"@npm//@angular/platform-browser", | ||
# TODO(kyliau): These are not necessary. Bundle compiles fine without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any idea why that is the case?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are direct dependencies of @angular/router
, and it seems all transitive deps of targets listed here are included in the compilation.
I think the right thing to do here is to list them all explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically, it's any deps that has NodeModuleInfo provider
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should assume that all scripts come in from transitive runfiles and work to boil this list down to the minimal set that we have a good reason to import here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome!!
"@npm//@angular/common", | ||
"@npm//@angular/core", | ||
"@npm//@angular/platform-browser", | ||
# TODO(kyliau): These are not necessary. Bundle compiles fine without |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should assume that all scripts come in from transitive runfiles and work to boil this list down to the minimal set that we have a good reason to import here
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. |
Exposes and fixes bug in #29454
Upstream PR: #29449
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information