Added a faster tailwind-only dev rebuilding solution

This commit is contained in:
Simon Martens
2024-12-18 09:34:05 +01:00
parent 79712349a0
commit 9012fdcb17
5 changed files with 731 additions and 159 deletions

View File

@@ -4,9 +4,11 @@
"description": "default views for caveman",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"dev": "vite",
"build": "vite build",
"tailwind": "tailwindcss -i transform/site.css -o assets/style.css",
"css": "postcss transform/site.css -o assets/style.css",
"preview": "vite preview"
},
"repository": {
"type": "git",
@@ -25,6 +27,7 @@
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"tailwindcss": "^3.4.13",
"vite": "^6.0.0"
"vite": "^6.0.0",
"postcss-cli": "^11.0.0"
}
}