fix(@nguniversal/common): error during critical CSS inlining for exte… · angular/universal@1aed4b8 · GitHub
Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 1aed4b8

Browse files
committed
fix(@nguniversal/common): error during critical CSS inlining for external stylesheets
The problem with the previous approach is that it assumes that a `link` tag processed by Critters will be preceded by a `style` tag that was inserted by Critters. This assumption might not necessarily be true if Critters is unable to resolve the content of the linked styles. Closes: #3241
1 parent 5974f8e commit 1aed4b8

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

‎modules/common/tools/src/inline-css-processor.ts‎

Lines changed: 9 additions & 1 deletion

0 commit comments

Comments
 (0)