bug: When customizing the resolve.docDirs
directory, .md files under the node_modules file are not ignored in Monorepo project
#2010
Labels
Version
2.2.16
OS Version
macOS Sonoma
Node.js Version
16.16.0
Browser Version
Chrome 120.0.6099.129
Link to minimal reproduction
https://github.com/umijs/dumi/tree/master/examples/normal
Steps to reproduce
resolve.docDirs
to['docs', 'packages']
What is expected?
MD files under node_modules should be ignored.
What is actually happening?
Markdown files under the
node_modules
should have been ignored.Any additional comments? (optional)
When I dig into the dumi2 source code, I found that exclude pattern is a hard-coded config which cannot be customized.
Please add an additional configuration item to allow users to ignore specific files; not only node_modules dir, but also some changelog.md in project etc.
The text was updated successfully, but these errors were encountered: