Skip to content

Feature request { include, exclude } options applied to sourcemap sources #106

@mcshaz

Description

@mcshaz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions