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.


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

1 Like

I know Local by FlyWheel has this feature. Looking forward for it to be implemented in DevKinsta :slight_smile:

+1 for this feature. It would be great if we could create a .kinstaignore file that uses .gitignore syntax for this.

1 Like

100% agree, the ability to ignore development related files would be a very welcome feature. I like @Martin_Cao idea of using an ignore file.