WIP: Gutenberg Block styles: Reduce unused CSS

Browser: Chrome (new)
OS: Windows

hello,

On pages built with bricks, there is always a Lighthouse error**(Reduce unused CSS)** that seems to be for the block editor.

/wp-includes/css/dist/block-library/style.min.css?ver=6.7

When I disable the block editor using code, this error is resolved. 10 kilobytes of page size is reduced. It would be great if pages built with bricks didn’t have to load CSS code related to the block editor.

Hi Jolia,
Thanks again for your report!

I agree that loading the block styles is unnecessary if no blocks are used. But once again this is not a bug but an improvement :slight_smile:

Best regards,
timmse