[CI] Minify splash preload
This commit is contained in:
parent
54d93733c8
commit
efbc8bb828
1 changed files with 1 additions and 1 deletions
2
.github/workflows/release_nightly.yml
vendored
2
.github/workflows/release_nightly.yml
vendored
|
@ -43,9 +43,9 @@ jobs:
|
|||
npm i -g esbuild uglify-js minify-json
|
||||
npx esbuild ./src --bundle --platform=node --external:electron --external:original-fs --external:auto-updater --outfile=index.js
|
||||
npx uglifyjs --compress --mangle -o index.js -- index.js
|
||||
npx uglifyjs --compress --mangle -o preload.js -- src/splash/preload.js
|
||||
cp src/package.json .
|
||||
cp src/splash/index.html .
|
||||
cp src/splash/preload.js .
|
||||
npx minify-json package.json
|
||||
rm -rf src
|
||||
mkdir src
|
||||
|
|
Loading…
Reference in a new issue