fix(compiler): exclude empty styles from emitted metadata#45459
fix(compiler): exclude empty styles from emitted metadata#45459crisbeto wants to merge 1 commit intoangular:mainfrom
Conversation
013b289 to
03036a3
Compare
packages/compiler-cli/src/ngtsc/annotations/component/src/resources.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.ts
Outdated
Show resolved
Hide resolved
packages/compiler-cli/src/ngtsc/annotations/component/src/resources.ts
Outdated
Show resolved
Hide resolved
atscott
left a comment
There was a problem hiding this comment.
reviewed-for: size-tracking
jessicajaniuk
left a comment
There was a problem hiding this comment.
reviewed-for: size-tracking
packages/compiler-cli/src/ngtsc/annotations/component/src/resources.ts
Outdated
Show resolved
Hide resolved
6a165eb to
d96b413
Compare
a3db212 to
b017ff8
Compare
b017ff8 to
7fef191
Compare
7fef191 to
fac358e
Compare
Excludes styles that resolve to empty strings from the emitted metadata so that they don't result in empty `<style>` tags at runtime. Fixes angular#31191.
fac358e to
07ee054
Compare
|
Merge assistance: this had all the necessary approvals, but they were reset after I rebased. I also had to change one of the size check files, because the size was reduced slightly. |
jelbourn
left a comment
There was a problem hiding this comment.
LGTM
Reviewed-for: global-approvers
|
This PR was merged into the repository by commit bb8d709. |
|
Due to conflicts with 13.3.x, I only merged this into main. Let me know if you want to do a patch port! |
|
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. |
Excludes styles that resolve to empty strings from the emitted metadata so that they don't result in empty
<style>tags at runtime.Fixes #31191.