fix(build): embed frontend into driver_http dist

Copy the static export to backend/plugins/drivers/driver_http/dist so
Wavelet's //go:embed all:dist actually ships the OpenFlare UI. Point
release builds at backend/go.mod and assert index.html after copy.
This commit is contained in:
ryan
2026-08-30 15:00:30 +08:00
parent df271ff708
commit 220c469ee7
7 changed files with 46 additions and 22 deletions
+2
View File
@@ -58,6 +58,8 @@ find_go_files() {
-o -path './frontend/out' \
-o -path './internal/router/dist' \
-o -path './internal/router/root/dist' \
-o -path './backend/plugins/drivers/driver_http/dist' \
-o -path './plugins/drivers/driver_http/dist' \
-o -path './vendor' \) -prune \
-o -type f -name '*.go' -print
}