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
fix(core): size regression with closure compiler #25531
Conversation
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.
No test ?
@@ -57,7 +57,13 @@ const IDENT_EVENT_IDX = 10; | |||
const TEMPLATE_ATTR_PREFIX = '*'; | |||
const CLASS_ATTR = 'class'; | |||
|
|||
const TEXT_CSS_SELECTOR = CssSelector.parse('*')[0]; | |||
let _TEXT_CSS_SELECTOR !: CssSelector; |
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.
Why is there no corresponding change on the usage site to call TEXT_CSS_SELCTOR as a function?
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.
fixed
By pulling in `compiler` into `core` the `compiler` was not 100% tree-shakable and about 8KB of code was retained when tree-shaken with closure.
48b581d
to
537424f
Compare
You can preview 537424f at https://pr25531-537424f.ngbuilds.io/. |
By pulling in `compiler` into `core` the `compiler` was not 100% tree-shakable and about 8KB of code was retained when tree-shaken with closure. PR Close #25531
By pulling in `compiler` into `core` the `compiler` was not 100% tree-shakable and about 8KB of code was retained when tree-shaken with closure. PR Close angular#25531
By pulling in `compiler` into `core` the `compiler` was not 100% tree-shakable and about 8KB of code was retained when tree-shaken with closure. PR Close angular#25531
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. |
By pulling in
compiler
intocore
thecompiler
was not100% tree-shakable and about 8KB of code was retained
when tree-shaken with closure.