fix client bundling
This commit is contained in:
parent
f805693e3d
commit
2d43b44ac0
|
@ -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
|
||||
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue