To do this, an additional stylesheet should be generated and its contents should be dynamically added to the page's HTML. The stylesheet should consist of @import declarations that only grab styles used on the home page.
The stylesheet should only output content when the Sass $dev-mode variable is false in order to speed up compilation.
To do this, an additional stylesheet should be generated and its contents should be dynamically added to the page's HTML. The stylesheet should consist of
@importdeclarations that only grab styles used on the home page.The stylesheet should only output content when the Sass
$dev-modevariable isfalsein order to speed up compilation.