Switching from terser to esbuild to minify javascript.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
303a4bf38e
commit
79732b95aa
2 changed files with 2 additions and 2 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -8,7 +8,7 @@ Build-Depends:
|
||||||
node-typescript,
|
node-typescript,
|
||||||
python3-all,
|
python3-all,
|
||||||
python3-setuptools,
|
python3-setuptools,
|
||||||
terser,
|
esbuild,
|
||||||
Rules-Requires-Root: no
|
Rules-Requires-Root: no
|
||||||
Standards-Version: 4.7.2
|
Standards-Version: 4.7.2
|
||||||
Homepage: https://www.nayuki.io/page/qr-code-generator-library
|
Homepage: https://www.nayuki.io/page/qr-code-generator-library
|
||||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -16,7 +16,7 @@ execute_after_dh_auto_build:
|
||||||
# libjs-qrcodegen
|
# libjs-qrcodegen
|
||||||
cd typescript-javascript && \
|
cd typescript-javascript && \
|
||||||
sh ./build.sh && \
|
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:
|
execute_after_dh_auto_install:
|
||||||
# libjs-qrcodegen
|
# libjs-qrcodegen
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue