Just tried debian/nodejs/extlinks (and --with nodejs) instead of patching rollup.config.js, but it fails the same way.

  dh_auto_configure --buildsystem=nodejs
        mkdir node_modules
        ln -s /usr/share/nodejs/micromatch ./node_modules/
  debian/rules override_dh_auto_build
make[1]: Entering directory '/home/pravi/forge/debian/git/js-team/node-rollup-pluginutils'
rollup -c

src/index.ts → dist/pluginutils.cjs.js, dist/pluginutils.es.js...
[!] Error: 'default' is not exported by ../../../../../../../usr/share/nodejs/micromatch/index.js
<https://rollupjs.org/guide/en#error-name-is-not-exported-by-module->
src/createFilter.ts (1:7)
1: import mm from 'micromatch';
         ^
2: import { resolve, sep } from 'path';
3: import { CreateFilter } from './pluginutils';
Error: 'default' is not exported by ../../../../../../../usr/share/nodejs/micromatch/index.js


Reply via email to