You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,6 +357,13 @@ const miniCssExtractPlugin = new MiniCssExtractPlugin({
357
357
358
358
For long term caching use `filename: "[contenthash].css"`. Optionally add `[name]`.
359
359
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.
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