Build CSS with Tailwind 4.3.3 standalone and daisyUI 5.7.47
tools/tailwind.sh downloads the pinned Tailwind binary and daisyUI's .mjs plugins into the gitignored .tools/tailwind/, checking each against a pinned sha256, so neither developers nor CI need Node. MSBuild compiles Styles/app.css into wwwroot/css/app.css (also gitignored) on every build, skipping the step when no source changed. The output is added to Content before ResolveProjectStaticWebAssets, so a clean-clone publish still gets its .gz/.br copies and a service-worker-assets.js entry. index.html now loads css/app.css, plus ionicons as its own stylesheet. The old bundle stays in the tree until the markup is migrated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LsXgEaXee4GCU1hwYgPJXw
This commit is contained in:
1 parent
b9dc865053
commit
3551da1b02
5 files changed
+141
-1
No files matched your search
@@ -363,3 +363,7 @@ MigrationBackup/
|
||||
FodyWeavers.xsd
|
||||
/.idea/.idea.decePubClient/.idea
|
||||
/.idea/config
|
||||
|
||||
# Tailwind standalone + daisyUI downloads (tools/tailwind.sh) and the CSS they generate
|
||||
.tools/
|
||||
wwwroot/css/app.css
|
||||
Reference in new issue
Block a user