Shorten/minimize CSS class (&id) names, both in CSS & HTML with Parcel? #8903
Unanswered
juanmirocks
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You can use postcss with Parcel - just add that plugin to a That said, I'm not sure how this would work to also update your HTML/JS to use the shortened classes. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm looking to optimize/minimize my CSS & HTML files, by renaming the CSS class & id names to very short names (e.g.
.a
), similar to what this Google PostCSS plugin does: https://github.com/google/postcss-renameAFAIK this is not readily available in parcel yet but I assume it can easily be done via plugins.
Beta Was this translation helpful? Give feedback.
All reactions