add minify option to tailwind
Description
Currently in jaspr_tailwind CSS is compiled without any compression. I feel this part is not very desirable for production. Therefore, I tried adding the --minify option to the CLI so that tailwind undergoes a minification process when compiling CSS. Also, in this pull request, the --minify option was simply added, but I think it would be good to add it only when jaspr build, so I am suggesting this.
Type of Change
- โจ New feature or improvement
Ready Checklist
- [x] I've read the Contribution Guide.
- [x] In case this PR changes one of the core packages, I've modified the respective CHANGELOG.md file using the semantic_changelog format.
- [x] I updated/added relevant documentation (doc comments with
///). - [x] I added myself to the AUTHORS file (optional, if you want to).
Package Version Report
The following packages have been updated: jaspr_tailwind : 0.2.0 -> 0.2.1
As you said, there should be a check to only add this in release mode.
I fixed it to only apply in release mode as you said, thank you.