sinclairnick / brail

💌 Transactional email that feels different
https://brail.dev
Apache License 2.0
258 stars 6 forks source link

Post-process the CSS so excessive duplication/size is avoided #31

Open sinclairnick opened 1 year ago

sinclairnick commented 1 year ago

Currently, the output CSS is not optimised, resulting in larger-than-necessary output files. There are likely various avenues for improving CSS minification, such as just deduplicating common styles and joining selectors etc.

jokull commented 1 year ago

Lightning CSS could be a good bet.

sinclairnick commented 1 year ago

@jokull I'll consider this for sure