check / check (push) Waiting to run
static/js/alpine.min.js is now committed: package/dist/cdn.min.js from the @alpinejs/csp 3.14.9 npm package, byte for byte, taken once from the package file that was in 3p/. The build no longer unpacks it, so script/assets, the assets make target, its Dockerfile steps and the ignore entries for the file are gone, and so is the package file. Prettier and ESLint both ignore the file, so it stays as published. Comments and the README now describe the committed file. Model: opus-5-5
17 lines
512 B
Go
17 lines
512 B
Go
// Package static embeds static assets (CSS, JS) served by the web UI.
|
|
package static
|
|
|
|
import (
|
|
"embed"
|
|
)
|
|
|
|
// Static holds the CSS and JavaScript files the web UI's pages load. They
|
|
// are named one by one, so a missing file fails the build instead of
|
|
// leaving the pages without it.
|
|
//
|
|
// js/alpine.min.js is Alpine.js, committed unchanged. It is
|
|
// package/dist/cdn.min.js from the npm package @alpinejs/csp 3.14.9.
|
|
//
|
|
//go:embed css/tailwind.css css/style.css js/app.js js/alpine.min.js
|
|
var Static embed.FS
|