Skip to content

Commit

Permalink
fix(build): copy web UI output to server default path after bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Dec 22, 2023
1 parent 7acdee8 commit a1fc606
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gui/Makefile
Expand Up @@ -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" \
Expand Down

0 comments on commit a1fc606

Please sign in to comment.