Replies: 1 comment 2 replies
-
how can i try this? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goals
Non-Goals
Note that this is a request for a feature that simply renames classes. That is all.
Background
Recently, while checking my website in production, I noticed that the full class names were being sent to the client. I immediately remembered a section from the @daisyui website, which showed how these CSS classes can clutter the code. I decided to investigate what could be done about it and found that it was only happening in the Uglify.js tool. Variable names were being shortened, but this was happening in JavaScript, not CSS.
optimizer.1.mp4
TODO:
Proposal
Make a feature in Next.js compiler that will be:
As I am learning Rust, I hope to contribute to the development of this feature. Let's improve Next.js together!
Beta Was this translation helpful? Give feedback.
All reactions