Skip to content

Commit

Permalink
fix(@angular-devkit/build-angular): inline critical font-face rules w…
Browse files Browse the repository at this point in the history
…hen using crittical css inlining

When critical font rules are not inlined it will cause blinking as during first render the fallback font will be rendered.

Related to angular/universal#2002
  • Loading branch information
alan-agius4 authored and clydin committed Feb 26, 2021
1 parent aa3ea88 commit 11b1d9c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ class CrittersExtended extends Critters {
mergeStylesheets: false,
preload: 'media',
noscriptFallback: true,
inlineFonts: true,
// tslint:disable-next-line: no-any
} as any);
}
Expand Down

0 comments on commit 11b1d9c

Please sign in to comment.