Name each embedded static file so a missing Alpine.js fails the build (closes #166) #467

Merged
clawbot merged 1 commits from issue-166-embed-named-assets into next 2026-10-02 20:56:36 +02:00
1 Commits
Author SHA1 Message Date
sneak 74fc086596 Name each embedded static file so a missing Alpine.js fails the build (closes #166)
check / check (push) Waiting to run
static/static.go embedded the css and js directories, which match
whatever is present, so a build that skipped make assets produced a
binary whose pages had no Alpine.js. It now names the four files the
pages load, so a missing one is a compile error naming it.
css/input.css, the Tailwind source that no page loads, is no longer
embedded or served.

Both lint stages now extract Alpine.js before linting, since the
static package no longer compiles without it.

Model: opus-5-5
2026-10-02 18:37:22 +00:00