You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to optimize css file across multiple html files... those css files could be different so it would be nice if you could drop or retain individual declarations. Potentially via didRetainDeclaration and dropDeclaration.
it would allow doing something like this...
if you would be interested in supporting this I could prepare a PR for it 🤗
let me know what you think 🤗
Some more details
I currently have it working in a fork and it usage looks like this
i don't want to bake this into the core, but would be okay with adding a callback that can hook into this externally via a declaration processor callback here:
I want to optimize css file across multiple html files... those css files could be different so it would be nice if you could drop or retain individual declarations. Potentially via
didRetainDeclaration
anddropDeclaration
.it would allow doing something like this...
if you would be interested in supporting this I could prepare a PR for it 🤗
let me know what you think 🤗
Some more details
I currently have it working in a fork and it usage looks like this
the code change itself is actually rather small and mostly in
css.js
The text was updated successfully, but these errors were encountered: