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, do not ignore views/vendor folder #418

Closed
mvehar opened this issue Mar 12, 2022 · 2 comments
Closed

Exclude node_modules, do not ignore views/vendor folder #418

mvehar opened this issue Mar 12, 2022 · 2 comments
Labels

Comments

@mvehar
Copy link

mvehar commented Mar 12, 2022

In line:

$finder->in($path)->exclude('storage')->exclude('vendor')->name('*.php')->name('*.twig')->name('*.vue')->files();

  1. manager ignores all vendor folders.
  2. does NOT ignore node_modules folder, therefore scans all node_module files
@mvehar
Copy link
Author

mvehar commented Mar 12, 2022

Found solution
$finder->in($path)->notPath('/^storage/')->notPath('/^vendor/')->exclude('node_modules')->name('*.php')->name('*.twig')->name('*.vue')->files();

symfony/symfony#28158 (comment)

@stale
Copy link

stale bot commented Jun 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If this issue is still present on the latest version of this library on supported Laravel versions, please let us know by replying to this issue so we can investigate further.
Thank you for your contribution! Apologies for any delayed response on our side.

@stale stale bot added the stale label Jun 12, 2022
@stale stale bot closed this as completed Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant