2

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.

Thank you

l --marc l
  • 6,743
  • 2
  • 42
  • 58

1 Answers1

6

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

Steve Perry
  • 496
  • 4
  • 10
  • Even then if you have more than 300 assets, it means one has to manually copy the files to the bucket and disclude them from getting pushed to github during the CI. – Ali Gajani Jan 03 '20 at 22:58