This does not work with ./bin/i18ndude rebuild-pot --pot src/my/ultest/locales//my.ultest.pot --exclude "\( ! -name node_modules \)" --create my.ultest src/my/ultest/
It still find node_modules.
Looking at
There only the file name is checked by fnmatch, not the whole path. Too bad.
For now I ignore "*.html *json-schema*.xml" which excludes all problematic files in node_modules and does not affect any Plone specific files.