feat(@angular-devkit/build-angular): add maximumInlineSize and excludeFromInlining options to browser build#11826
feat(@angular-devkit/build-angular): add maximumInlineSize and excludeFromInlining options to browser build#11826alan-agius4 wants to merge 1 commit intoangular:masterfrom alan-agius4:feat_inline_resources
maximumInlineSize and excludeFromInlining options to browser build#11826Conversation
…ludeFromInlining` options to browser build This 2 options add the flexability to the consumers to choose what to exlcude from being inlined in the final css output and also the maximum size of the resouce in `KiB` that can be inlined.
|
We're reaching out to chrome team to help us understand when is the right time to inline fonts and images. |
|
Hi @alan-agius4! This PR has merge conflicts due to recent upstream merges. |
|
Comment from @addyosmani
And from @KenjiBaheux:
My take on this is that we shouldn't do inlining at all unless we have a way to guide users towards the right config, or possibly investigate how to do preloading of critical assets instead. |
|
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. |
Add
maximumInlineSizeandexcludeFromInliningoptions to browser buildThis 2 options add the flexability to the consumers to choose what to exlcude from being inlined in the final css output and also the maximum size of the resouce in
KiBthat can be inlined.