mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
perf: enable critical CSS inlining for faster initial paint
- Set inlineCritical to true in all production builds - This inlines critical CSS in the HTML for faster FCP - Roboto fonts already have font-display: swap via @fontsource
This commit is contained in:
parent
71c83228cf
commit
6bed63b52d
1 changed files with 4 additions and 4 deletions
|
|
@ -85,7 +85,7 @@
|
|||
"scripts": true,
|
||||
"styles": {
|
||||
"minify": true,
|
||||
"inlineCritical": false
|
||||
"inlineCritical": true
|
||||
},
|
||||
"fonts": true
|
||||
},
|
||||
|
|
@ -117,7 +117,7 @@
|
|||
"scripts": true,
|
||||
"styles": {
|
||||
"minify": true,
|
||||
"inlineCritical": false
|
||||
"inlineCritical": true
|
||||
},
|
||||
"fonts": true
|
||||
},
|
||||
|
|
@ -146,7 +146,7 @@
|
|||
"scripts": true,
|
||||
"styles": {
|
||||
"minify": true,
|
||||
"inlineCritical": false
|
||||
"inlineCritical": true
|
||||
},
|
||||
"fonts": true
|
||||
},
|
||||
|
|
@ -178,7 +178,7 @@
|
|||
"scripts": true,
|
||||
"styles": {
|
||||
"minify": true,
|
||||
"inlineCritical": false
|
||||
"inlineCritical": true
|
||||
},
|
||||
"fonts": true
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue