Hi All!
Today I have released a small package to remove unused CSS from Scully pre-rendered pages. I had a problem that Material theme was being output in each of my rendered HTMLs. For example, plugin optimised Login static HTML from 136kb, down to 25kb (this applies to each generated route!!!). Plugin is pretty simple - it uses purgecss
and extract-css
to extract and remove unused styles from HTML. After extraction and optimisation I append clean styles before closing head
tag.
I would love to ask Angular, Scully Developers to give it ago, leave a feedback and report issues so I can cover as much cases as I can (I’m new to the open source thing ).
Thanks!