Exclude node_modules from Import

Is there a way to exclude certain files from being uploaded? Like when I’m developing locally, then wanna push it to staging, I don’t want node_modules to get uploaded too.

2 Likes

Hi @ZachTheHack . Welcome to DevKinsta! I’m afraid not at this time but this makes for a great feature request. I’ve gone ahead and moved this over to the featured requests category here.

1 Like

Our templates are using alot of gulp and other stuff to minimize SASS, it would be perfect to ignore the folder node_modules, but keep files like package.json when uploading to staging