[pve-devel] [PATCH novnc 4/4] use esbuild instead of node-es6-module-transpiler

Dominik Csapak d.csapak at proxmox.com
Fri Dec 17 11:19:59 CET 2021


the latter cannot cope with some js syntax novnc now uses, but the former can

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e029fb9..9101b34 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: optional
 Maintainer: Proxmox Support Team <support at proxmox.com>
 Build-Depends: debhelper (>= 12~),
-               node-es6-module-transpiler,
+               esbuild,
                quilt,
 Standards-Version: 4.5.1
 Homepage: https://github.com/kanaka/noVNC/
diff --git a/debian/rules b/debian/rules
index 3599277..f8b14e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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:
-- 
2.30.2






More information about the pve-devel mailing list