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

Compiled CSS is too large #25

Open
AndrewVos opened this issue Sep 7, 2020 · 1 comment
Open

Compiled CSS is too large #25

AndrewVos opened this issue Sep 7, 2020 · 1 comment

Comments

@AndrewVos
Copy link

Describe the problem:

Using a fresh rails 6 app, install this gem and follow all the instructions. Use a few utilities in some html. Deploy to production on Heroku. If you look at the size of the resulting CSS, it's over 60kb.

This is unexpected because, from the tailwindcss docs:

image

Link to a minimal reproduction:

The code:
https://github.com/AndrewVos/testing-tailwind

The live app on Heroku:
https://testing-tailwind.herokuapp.com/

@AndrewVos
Copy link
Author

Ok here's a commit that actually works: AndrewVos/testing-tailwind@993f348

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