since Angular 12 Angular does render the following to load Stylesheet Files:
< link rel="stylesheet" href="styles.4285903a79a25b170478.css" media="print" onload="this.media='all'">
< noscript>< link rel="stylesheet" href="styles.4285903a79a25b170478.css"></ noscript>
Is that correct?
If this is correct, how can i disable this? My Application does look really wired when the Internet connection is bad the first couple seconds.
This can be controlled by the following angular.json config:
"optimization": {
"scripts": true,
"styles": {
"minify": true,
"inlineCritical": false
},
"fonts": true
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With