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

Exclude node_modules by default #80

Closed
bencoveney opened this issue Nov 14, 2018 · 4 comments
Closed

Exclude node_modules by default #80

bencoveney opened this issue Nov 14, 2018 · 4 comments

Comments

@bencoveney
Copy link
Owner

See #79 for an example use case.

I won't think anyone would ever want to run barrelsby on their node_modules folder

@BitForger
Copy link
Collaborator

resolved in #165

just needs release

@BitForger BitForger added this to the v2.3.0 milestone Sep 25, 2021
@achebrol
Copy link

achebrol commented May 7, 2022

hi,how do i include node_modules. i have tried adding node_modules in include but couldnt get it working.
i have a specific usecase where i want to generate barrel file inside a node_modules folder.
Thanks

@BitForger
Copy link
Collaborator

@achebrol there is no way to do this post #165 that I can think of... It may be possible to create a barrel file inside a specific included path in node_modules but I haven't tried that use case. Why do you want to create a barrel file in node_modules? The overhead for this would be massive and could crash local environments.

@achebrol
Copy link

achebrol commented May 7, 2022

@BitForger i definitely dont want to create for the whole node_modules folder.i just want to create a barrel file only for a specific folder inside node_modules but i see that now that the node_modules by default excluded. i run a specific tool which creates type definitions in my node_modules folder but its not generating the barrel file. so i thought i can generate one using barrelsby.

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

No branches or pull requests

3 participants