1
0
Fork 0

Switching from terser to esbuild to minify javascript.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-04 20:05:19 +02:00
parent 303a4bf38e
commit 79732b95aa
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 2 additions and 2 deletions

2
debian/control vendored
View file

@ -8,7 +8,7 @@ Build-Depends:
node-typescript,
python3-all,
python3-setuptools,
terser,
esbuild,
Rules-Requires-Root: no
Standards-Version: 4.7.2
Homepage: https://www.nayuki.io/page/qr-code-generator-library

2
debian/rules vendored
View file

@ -16,7 +16,7 @@ execute_after_dh_auto_build:
# libjs-qrcodegen
cd typescript-javascript && \
sh ./build.sh && \
terser qrcodegen.js -c -m -o qrcodegen.min.js --source-map
esbuild qrcodegen.js --sourcemap --outfile=qrcodegen.min.js --minify
execute_after_dh_auto_install:
# libjs-qrcodegen