5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2025-03-11 16:58:31 +03:00

use esbuild instead of node-es6-module-transpiler

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

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-12-17 11:19:59 +01:00 committed by Thomas Lamprecht
parent 97c7a8a44a
commit bd98941d91
2 changed files with 2 additions and 2 deletions

2
debian/control vendored
View 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/

2
debian/rules vendored
View File

@ -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: