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 . #1004

Merged
merged 1 commit into from
Apr 25, 2018
Merged

exclude node_modules . #1004

merged 1 commit into from
Apr 25, 2018

Conversation

yibuyisheng
Copy link
Contributor

No description provided.

@Akryum
Copy link
Member

Akryum commented Mar 19, 2018

Hi, thanks for your PR. Why did you need to make this change?

@yibuyisheng
Copy link
Contributor Author

@Akryum

const minimatch = require('minimatch');

console.log(minimatch('use/node_modules/aaa/bbb/a.js', '**node_modules**'));     // false
console.log(minimatch('use/node_modules/aaa/bbb/a.js', '**/node_modules/**'));   // true

**node_module** does not match use/node_modules/aaa/bbb/a.js.

@yyx990803 yyx990803 merged commit 708cde9 into vuejs:dev Apr 25, 2018
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

Successfully merging this pull request may close these issues.

3 participants