feat(build): add JavaScript minification support and use minified loading.js

- Add `minify-js` target to Makefile that minifies JavaScript files in internal/
- Update `build` and `run` targets to run minification before building/running
- Replace `html/loading.js` embed with `html/loading-min.js` in loading_page.go

This change optimizes the loading page performance by embedding minified JavaScript
instead of the full source file. The Makefile now automatically generates minified
versions of JavaScript files during build and run operations.
This commit is contained in:
yusing
2026-02-11 00:43:25 +08:00
parent 233dd72cb0
commit bb8b663ebc
3 changed files with 16 additions and 7 deletions

5
.gitignore vendored
View File

@@ -44,4 +44,7 @@ dev-data/
RELEASE_NOTES.md
CLAUDE.md
.kilocode/**
.kilocode/**
# minified files
**/*-min.*