My HTML pages are 680K each. Am I doing something wrong? #253
Answered
by
imfing
dogweather
asked this question in
Q&A
-
It looks like it's from repeated tailwind css classes. I've never used tailwind before. Is there some production post-process that's meant to DRY these up? Here's an example page: https://forkful.ai/en/go/calculating-a-date-in-the-future-or-past/ I'll be reducing the page's size when I finish the sidebar design. But this is crazy. |
Beta Was this translation helpful? Give feedback.
Answered by
imfing
Jan 14, 2024
Replies: 1 comment 3 replies
-
I didn't see the page is taking 680K space. Can you provide more details? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Gotcha.
Apparently the sidebar items classes are taking too much space. We could replace those repetitive ones with some common class name. I'll create an issue and address this.