Skip to content

Commit 708cde9

Browse files
yibuyishengyyx990803
yibuyisheng
authored andcommitted
fix(cli): fix invoke glob node_modules ignore pattern (#1004)
1 parent 49f9f35 commit 708cde9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli/lib/invoke.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function readFiles (context) {
2424
cwd: context,
2525
onlyFiles: true,
2626
gitignore: true,
27-
ignore: ['**node_modules**']
27+
ignore: ['**/node_modules/**']
2828
})
2929
const res = {}
3030
for (const file of files) {

0 commit comments

Comments
 (0)