Skip to content

Commit

Permalink
feat: make command for minifying the generated tailwind CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamza12700 committed Sep 13, 2024
1 parent f08717a commit 3425ad0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
tailwind:
@bunx tailwindcss -i static/init.css -o static/dist.css --watch

tailminify:
@bunx tailwindcss -i static/init.css -o static/dist.css --minify

server:
@watchexec -c -r -e go,html go run .
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Use the `Makefile` to run/build the web server.

- Run `make server` to start the server in watch mode
- Run `make tailwind` to watch for tailwind classes
- Run `make tailmini` to minify the generated tailwind CSS file

## Contributing

Expand Down

0 comments on commit 3425ad0

Please sign in to comment.