1
0
Fork 0

fix(build): copy web UI output to server default path after bundling

This commit is contained in:
Sean Sube 2023-12-21 20:57:52 -06:00
parent 7acdee89e1
commit a1fc60641f
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 5 additions and 0 deletions

View File

@ -29,8 +29,13 @@ build-shebang: build
bundle: build
node esbuild.js
# copy other files into output to make a complete UI
cp -v src/index.html out/
cp -v src/config.json out/
# copy everything into the server's default path
cp -v src/index.html ../api/gui/
cp -v src/config.json ../api/gui/
cp -v out/bundle/main.js ../api/gui/bundle/
COVER_OPTS := --all \
--exclude ".eslintrc.js" \