thgh / vercel-sapper

Vercel builder for Sapper with SSR enabled
MIT License
191 stars 25 forks source link

src/node_modules is not uploaded to vercel #48

Closed mightyjol closed 4 years ago

mightyjol commented 4 years ago

I have critical code in my src/node_modules folder. Sadly i can't find a way to upload this folder. What is the option to force a folder in the source uploaded?

i tried to specify !src/node_modules

in my .vercelignore

thgh commented 4 years ago

Good question, it has been recently fixed: https://github.com/vercel/vercel/discussions/4624

mightyinsomniak commented 4 years ago

thx, solution is to add

!src/node_modules
!src/node_modules/**

to .vercelignore