Skip to content

Commit af9a937

Browse files
author
Wietse de Vries
committed
Add default preload to readme file
1 parent 0bacfac commit af9a937

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,13 @@ const miniCssExtractPlugin = new MiniCssExtractPlugin({
357357

358358
For long term caching use `filename: "[contenthash].css"`. Optionally add `[name]`.
359359

360+
#### rel="preload" support
361+
362+
On browsers that support `<link rel="preload" as="style">`, then CSS links will be preloaded by default.
363+
This is both to improve page load performance, and addresess Chrome Lighthouse SEO performance audits requiring the use of rel="preload" with asynchronous chunks.
364+
365+
-[Lighthouse article](https://developers.google.com/web/tools/lighthouse/audits/preload)
366+
360367
### Remove Order Warnings
361368

362369
For projects where css ordering has been mitigated through consistent use of scoping or naming conventions, the css order warnings can be disabled by setting the ignoreOrder flag to true for the plugin.

0 commit comments

Comments
 (0)