Updated build scripts, removed trash

Update tools.json, tools.json, and 3 more files...
This commit is contained in:
2025-04-03 21:55:37 +02:00
parent df93ee47b2
commit 3e2b917d21
5 changed files with 29 additions and 14 deletions

View File

@@ -83,6 +83,16 @@ call "%~dp0node_modules\.bin\rollup" uuid-generator.mjs --file uuid-generator.js
call "%~dp0node_modules\.bin\terser" uuid-generator.js -c -m -o uuid-generator.min.js
popd
:js-pnganalyser-minify
echo Minifying PNG Analyzer
pushd %CD%
cd %~dp0\..\static\resources\NibblePoker\applets\png-analyser\
echo ^> static\resources\NibblePoker\applets\png-analyser\png-analyser.mjs
call "%~dp0node_modules\.bin\rollup" png-analyser.mjs --file png-analyser.js
call "%~dp0node_modules\.bin\terser" png-analyser.js -c -m -o png-analyser.min.js
popd
:js-nibblepoker-end
:end

View File

@@ -0,0 +1,17 @@
@echo off
pushd %CD%
cd /D "%~dp0"
cd ..\static\resources\NibblePoker
echo.
echo Removing minified JS files
echo --------------------------
echo Deleting "*.js" in "static\resources\NibblePoker" ...
del /S /Q *.js
:end
popd