pve-eslint/debian/rules
Dominik Csapak 4b0098f62a ship proper nodejs module 'pve-eslint'
instead of concatenating the eslint module into our app.js, ship
a 'pve-eslint' module that exports the built eslint module

to do this, we have to leave the module type on 'umd' instead of
changing to 'var' so that nodejs can properly import it.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2021-07-19 12:12:46 +02:00

8 lines
141 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --with nodejs
execute_after_dh_fixperms:
chmod --recursive a+x -- debian/*/usr/share/nodejs/pve-eslint/bin/*