Skip to content

Commit

Permalink
fix client bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Jun 4, 2024
1 parent f805693 commit 2d43b44
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions client/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docs-local:

build: deps
yarn tsc
# cp -v src/components/main.css out/src/components/
cp -v src/main.css out/src/

build-shebang: build
sed -i '1s;^;#! /usr/bin/env node\n\n;g' $(shell pwd)/out/src/main.js
Expand All @@ -32,12 +32,6 @@ 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.css ../api/gui/bundle/
# cp -v out/bundle/main.js ../api/gui/bundle/

COVER_OPTS := --all \
--exclude ".eslintrc.js" \
Expand Down

0 comments on commit 2d43b44

Please sign in to comment.