fix(cli): fix invoke glob node_modules ignore pattern (#1004)

This commit is contained in:
yibuyisheng
2018-04-26 04:41:16 +08:00
committed by Evan You
parent 49f9f35626
commit 708cde9f6f

View File

@@ -24,7 +24,7 @@ async function readFiles (context) {
cwd: context,
onlyFiles: true,
gitignore: true,
ignore: ['**node_modules**']
ignore: ['**/node_modules/**']
})
const res = {}
for (const file of files) {