cmd/pkgserver: guard sass/ts behind build tag

Packaging nodejs and ruby is an immense burden for the Rosa OS base system, and these files diff poorly.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-12 01:40:04 +09:00
parent c1c9ca7c57
commit 83af708f2e
9 changed files with 16 additions and 184 deletions

7
cmd/pkgserver/ui_full.go Normal file
View File

@@ -0,0 +1,7 @@
//go:build frontend
package main
//go:generate sh -c "sass ui/static/dark.scss ui/static/dark.css && sass ui/static/light.scss ui/static/light.css && tsc -p ui/static"
//go:embed ui/*
var content embed.FS