Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore node_modules in standalone mode #10

Open
qpwo opened this issue Feb 9, 2022 · 0 comments
Open

Ignore node_modules in standalone mode #10

qpwo opened this issue Feb 9, 2022 · 0 comments

Comments

@qpwo
Copy link

qpwo commented Feb 9, 2022

Thank you for making this!

I have a project with some subprojects using VGI. My src is not in a src subdir so I have to find and pass all the right filenames, otherwise VGIS takes forever. If VGIS ignored node_modules, then I think just running vgis . in a huge layered project would be reasonably fast.

I think it's as simple as passing an option to globby at https://github.com/fjc0k/vscode-generate-index/blob/master/src/generateIndex.ts#L76

I tried ignore: ['**/node_modules/**'] but that wasn't quite right. I don't think it would be complicated though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant