DOKK / manpages / debian 12 / dh-nodejs / dh_nodejs_build_debug_package.1p.en
DH_NODEJS_BUILD_DEBUG_PACKAGE(1p) User Contributed Perl Documentation DH_NODEJS_BUILD_DEBUG_PACKAGE(1p)

dh_nodejs_build_debug_package - automatically move sourcemap files into a separate debug package.

  override_dh_install:
      dh_install
      dh_nodejs_build_debug_package node-foo-debug

With custom regex (example to move typescript declarations):

  override_dh_install:
      dh_install
      dh_nodejs_build_debug_package node-types-foo '^.*\.d\.ts$'

dh_nodejs_build_debug_package automatically move sourcemap files from all packages into a separate debug package. To be used when package size is too big.

Copyright Yadd <yadd@debian.org>

Licensed under GPL-2+ (see /usr/share/common-licenses/GPL-2)

2022-12-17 perl v5.36.0