Skip to content

Commit 3586752

Browse files
committed
Don't ignore nested node_modules
1 parent 239bd4e commit 3586752

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

bin.js

+4-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,10 @@ async function patch(dir) {
9696
}
9797
fs.writeFileSync(
9898
join(dir, '.vercelignore'),
99-
`__sapper__
100-
cypress
101-
node_modules`
99+
`/__sapper__
100+
/cypress
101+
!node_modules
102+
/node_modules/*`
102103
)
103104
console.log(green('Created'), '.vercelignore')
104105
} catch (e) {

0 commit comments

Comments
 (0)