BrowserFS
BrowserFS copied to clipboard
More CLI options for `make_http_index`?
@jvilk I ran into an issue where this line in /scripts/make_http_index.ts
:
// ignore non-essential directories / files
if (ignoreFiles.indexOf(file) !== -1 || file[0] === '.') {
return;
}
forced me to fork your script. I needed to include hidden filenames (like .eslintrc
) in my index. My question for you is: should I continue using my fork (and possibly publish it) or would you be receptive to PRs adding more bells and whistles to this script?
I would probably start by adding support for passing in globs, and writing the result to stdout
.
Would it be acceptable to add a --include-hidden-files
switch? That would be simplest to add.
I could live with that. 😀
Please use https://github.com/browser-fs/core/issues/16