Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.

Use Tailwind's recommended method of minifying the CSS via the
cssnanoPostCSS plugin. This drops the final CSS files by about 20kb whenNODE_ENVis production.You can test this yourself by pulling this branch, installing deps, and running
Take note of the final file sizes generated to🔥
app/assets/buildsand then run the commands again withNODE_ENV=productionprefixed to see the savingsHere is what I am getting on my machine after multiple runs:
Since you're working on a redesign, I figured this would be the perfect time to introduce this optimization from which you get a pretty significant saving (see above).
Didn't think this needed a changelog entry but lmk and I can add. Feel free to throw this away but I noticed you didn't have it and wanted to get in a contribution😄
Pull request checklist
bin/check