Would love a release that allows for hooks on server mode and built-in pre-build hooks. (Although its fairly simple when using build to just write up a shell script, it would be a nice to have built into the CLI)
For example, this could allow devs to use another CLI tool to run any pre-build commands or re-build (in server mode) when a file change happens with any relevant CLI command(s) running before the rebuild.
A few use cases come to mind:
- Image Optimization via CLI (resize images, or create various sizes of images)
- Building CSS from SASS/SCSS files, or after using Tailwind’s CLI
- Minify JS/CSS files