mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 02:54:21 +08:00
fix(@angular-devkit/build-angular): inline critical font-face rules when 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 https://github.com/angular/universal/issues/2002
This commit is contained in:
parent
aa3ea885ed
commit
11b1d9c2d1
@ -39,6 +39,7 @@ class CrittersExtended extends Critters {
|
||||
mergeStylesheets: false,
|
||||
preload: 'media',
|
||||
noscriptFallback: true,
|
||||
inlineFonts: true,
|
||||
// tslint:disable-next-line: no-any
|
||||
} as any);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user