static directory at the root of your application.
API routes take precedence over static assets and will be served first.
If you are using SPAs that require a build step, you can store your source files in your project directory and configure your output directory to be
/static. To prevent Serverless Cloud from syncing your source files, you can add a
.serverlessignore file in the root of your project and add a list of directories and files you do not wish to sync.
For example, if your source files are stored in
.serverlessignore file should contain the following:
This will allow you to run a separate terminal with your SPA build scripts running and only sync when it generates output files.
NOTE: Please be sure to restart your cloud shell after changing the