I once stumbled on using the literals minifier with Shoelace and other vendor packages custom elements.
I'm not alone with this. Maybe some minification options fiddling could save us?
Anyway this is a good case for another idea:
Presets. E.g. "Hydration safe", "My popular lib. safe"… They can act as an extension base or a reference.
Minification should be as aggressive as possible until stuff starts to break.
This is really a trial and error process, and maybe that knowledge should be shared somehow.
I once stumbled on using the literals minifier with Shoelace and other vendor packages custom elements.
I'm not alone with this. Maybe some minification options fiddling could save us?
Anyway this is a good case for another idea:
Presets. E.g. "Hydration safe", "My popular lib. safe"… They can act as an extension base or a reference.
Minification should be as aggressive as possible until stuff starts to break.
This is really a trial and error process, and maybe that knowledge should be shared somehow.