The FilterPattern applied to include or exclude seem to have no bearing on the sourcemap files included or excluded (instead being applied to the .js files).
It would be ideal to apply these filters so that sourcemaps could be excluded if they fit a pattern.
At the moment this can be done with the readfile option and passing to fs.readFile only if the path fits a predicate, but applying the include/exclude filters would seem a little cleaner.
Thanks for the library and thanks for considering.
The FilterPattern applied to include or exclude seem to have no bearing on the sourcemap files included or excluded (instead being applied to the .js files).
It would be ideal to apply these filters so that sourcemaps could be excluded if they fit a pattern.
At the moment this can be done with the readfile option and passing to
fs.readFile
only if the path fits a predicate, but applying the include/exclude filters would seem a little cleaner.Thanks for the library and thanks for considering.