diff --git a/webpack.config.js b/webpack.config.js index 95214dc10..770893aaa 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -266,6 +266,8 @@ module.exports = function (_, env) { // Inline Critical CSS (for the intro screen, essentially) isProd && new CrittersPlugin({ + // use hack to load async css: + preload: 'media', // inline all styles from any stylesheet below this size: inlineThreshold: 2000, // don't bother lazy-loading non-critical stylesheets below this size, just inline the non-critical styles too: