Allow `src` option to accept globs and array of paths
See original GitHub issueIt’d be great if I could pass a glob here, I have a monorepo and would like to tell docz
to look in packages/src/*
and include my root README.md
(to avoid having to have two files for gitlab and for docz)
module.exports = {
src: ["packages/src/*", "README.md"],
};
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:11 (5 by maintainers)
Top Results From Across the Web
List all files in array with gulp.src() - Stack Overflow
According to this blog post, it should work: gulp. src(files) is a string or array containing the file(s) / file paths. My current...
Read more >Is gulp.src too strict about input globs? (gulp 4) #1298 - GitHub
In #712, a decision was made to allow an empty array to be passed into gulp.src based on the case made by @wesleytodd....
Read more >src() - gulp.js
name type default
buffer boolean function true
read boolean function true
since date timestamp function
Read more >Understanding the glob pattern in Node.js - LogRocket Blog
In this article, we'll explore how to use the glob pattern in Node.js to represent or specify filenames and arbitrary strings. To follow...
Read more >glob — Unix style pathname pattern expansion ... - Python Docs
This function can support paths relative to directory descriptors with the dir_fd parameter. If recursive is true, the pattern “ ** ” will...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll release a new version next Monday that allow you to do this @wldcordeiro 🙏
I am currently running 0.10.3 and when defining
src : ['packages/src/*', '../../app/src'],
I get an error telling me that the path must be a string. It says this was shipped in 0.10.0. Am I missing something?