1
0
Fork 0

fix client bundling
Run Docker Build / build (push) Successful in 17s Details
Run Python Build / build (push) Successful in 26s Details

This commit is contained in:
Sean Sube 2024-06-03 22:32:55 -05:00
parent f805693e3d
commit 2d43b44ac0
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 1 additions and 7 deletions

View File

@ -22,7 +22,7 @@ docs-local:
build: deps build: deps
yarn tsc yarn tsc
# cp -v src/components/main.css out/src/components/ cp -v src/main.css out/src/
build-shebang: build build-shebang: build
sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/out/src/main.js sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/out/src/main.js
@ -32,12 +32,6 @@ bundle: build
node esbuild.js node esbuild.js
# copy other files into output to make a complete UI # copy other files into output to make a complete UI
cp -v src/index.html out/ 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.css ../api/gui/bundle/
# cp -v out/bundle/main.js ../api/gui/bundle/
COVER_OPTS := --all \ COVER_OPTS := --all \
--exclude ".eslintrc.js" \ --exclude ".eslintrc.js" \