From 3425ad0c9d755a313f8100e479731700891009cd Mon Sep 17 00:00:00 2001 From: Hamza <72913359+Hamza12700@users.noreply.github.com> Date: Fri, 13 Sep 2024 03:16:31 +0000 Subject: [PATCH] feat: make command for minifying the generated tailwind CSS --- Makefile | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/Makefile b/Makefile index a80c1fc..ebdb2cf 100644 --- a/Makefile +++ b/Makefile @@ -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 . diff --git a/README.md b/README.md index 3582eeb..399f27c 100644 --- a/README.md +++ b/README.md @@ -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