Skip to content

Add a configuration option to exclude paths  #219

Closed
@adam-26

Description

@adam-26

Is your feature request related to a problem? Please describe.
This plugin includes the node_modules folder in the search path.
Some packages are published that include CSS imports (ie:import './some.css' ) but the .css file is not included in the package, that causes this plugin to crash.

Describe the solution you'd like
Add a configuration option excludePath(s), that accepts a string | RegEx that is then used to exclude the specified paths from reading css files.

Describe alternatives you've considered
None.

Additional context
Being able to exclude paths would likely improve plugin performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions