[Pkg-javascript-devel] Tip

Xavier yadd at debian.org
Sat Aug 3 14:38:54 BST 2019


Hi,

when you need to link a node library into your package during build
(debian/rules), no more use "ln -s /usr/lib/nodejs/npm-name" but
instead, use:

override_dh_auto_build:
    # ...
    ln -s `nodepath npm-name` node_modules/

nodepath is included in pkg-js-tools. See nodepath -h for more.

Cheers,
Xavier



More information about the Pkg-javascript-devel mailing list