Use tailwind cli to compile css instead of tailwind cdn (#132)

* implement feature
* use npm instead of cli
This commit is contained in:
Tricked
2025-10-18 13:47:59 +02:00
committed by GitHub
parent 75eb5378c8
commit 4e898087d4
8 changed files with 1158 additions and 3 deletions

11
package.json Normal file
View File

@@ -0,0 +1,11 @@
{
"name": "hass-oidc-auth",
"scripts": {
"css": "tailwindcss -i ./custom_components/auth_oidc/static/input.css -o ./custom_components/auth_oidc/static/style.css --minify",
"css:watch": "tailwindcss -i ./custom_components/auth_oidc/static/input.css -o ./custom_components/auth_oidc/static/style.css --watch --minify"
},
"dependencies": {
"@tailwindcss/cli": "^4.1.14",
"tailwindcss": "^4.1.14"
}
}