Articles on: First Steps

Which files are automatically excluded during deployment?

Did you upload your application to Square Cloud and notice that some folders or files disappeared from your dashboard? Don't worry, this is standard and intentional behavior on our platform!


When deploying, Square Cloud automatically "cleans up" your package, removing local development environment files, framework caches, and dependency folders (such as the heavy node_modules).


We do this for two main reasons:


  1. Speed and Performance: It prevents unnecessary data traffic, making your deployment much faster.
  2. Space Saving: Local files and caches are not required for your application to run in the production environment. The actual dependencies will be automatically installed by our system.


Which files are automatically excluded?


If you uploaded any of the files or folders below, our system will automatically remove them during the deployment process. We have separated the list into categories for easier understanding:


Dependencies and Virtual Environments:

  • node_modules
  • .venv
  • .npm
  • .composer
  • .bundle
  • __pycache__


Framework Caches and Builds:

  • .next/cache
  • .nuxt/cache
  • .cache


System and Version Control:

  • .git
  • .local


Editor and Tool Configurations:

  • .vscode
  • .husky
  • .logs


What do I need to do?


To ensure an efficient deployment, the best practice is to not upload these files at all. Before uploading your .zip file or sending your files, make sure these folders were left out of the package (using a .gitignore file in your project helps a lot!).


If you end up uploading these folders by mistake, there is no problem at all: Square Cloud will handle excluding them for you to ensure your application remains clean and lightweight.

Updated on: 05/20/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!