Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Css styles are added in tailwindcss and production mode #26

Open
MarkusHeinisch opened this issue Nov 29, 2024 · 0 comments
Open

Css styles are added in tailwindcss and production mode #26

MarkusHeinisch opened this issue Nov 29, 2024 · 0 comments

Comments

@MarkusHeinisch
Copy link

I'am using tailwindcss-debug-screens (2.2.1) in nextjs 15. The classname "debug-screens" was added to the body only in production mode but the genereated css-styles are also added to the style-file. Is it possible to prevent this, because this lines are 396 chars. This is trash we dont need in production mode.

.debug-screens:before{content:"screen: sm"}}@media (min-width:768px){.debug-screens:before{content:"screen: md"}}@media (min-width:1024px){.debug-screens:before{content:"screen: lg"}}@media (min-width:1280px){.debug-screens:before{content:"screen: xl"}}@media (min-width:1536px){.debug-screens:before{content:"screen: 2xl"}}@media (min-width:1920px){.debug-screens:before{content:"screen: 3xl"}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant