laravelaws-lambdaserverforgelaravel-vapor

Vapor - How to increase Size of folder for deploying to staging and production?


I try to deploy our code to staging I was found an error message something like this.

Compressed application is greater than 45MB. Your application is 69 MB. Whoops! There were some problems with your request. Vapor applications may not have more than 300 public assets.

Very small ????? It's not enough.


Solution

  • Looks like Taylor just launched the solution to this problem. You need to update your vapor-core and vapor-cli packages to the latest version. Then add separate-vendor: true to your Vapor.yml file. Details here: https://blog.laravel.com/vapor-reusable-vendors