]> git.proxmox.com Git - novnc-pve.git/commitdiff
use esbuild instead of node-es6-module-transpiler
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 17 Dec 2021 10:19:59 +0000 (11:19 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 21 Dec 2021 10:20:46 +0000 (11:20 +0100)
the latter cannot cope with some js syntax novnc now uses, but the former can

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
debian/control
debian/rules

index e029fb97415f6ff27f8852a96de81070f21bcb81..9101b34c76d2a612e50e12e3a626540672b79110 100644 (file)
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
 Build-Depends: debhelper (>= 12~),
-               node-es6-module-transpiler,
+               esbuild,
                quilt,
 Standards-Version: 4.5.1
 Homepage: https://github.com/kanaka/noVNC/
index 3599277996ff83f42708c49c0cbe29c786f4c28d..f8b14e05a0685105e124f8a22a1fa809ace88916 100755 (executable)
@@ -11,7 +11,7 @@ export DEB_BUILD_HARDENING=1
        dh ${@} --with quilt
 
 override_dh_auto_build:
-       compile-modules convert -f bundle app/ui.js > app.js
+       esbuild --bundle app/ui.js > app.js
        dh_auto_build
 
 override_dh_install: