brefphp / laravel-bridge

Package to use Laravel on AWS Lambda with Bref
https://bref.sh/docs/frameworks/laravel.html
MIT License
314 stars 63 forks source link

Exclude .git directory from deployment #91

Closed jericopulvera closed 1 year ago

jericopulvera commented 1 year ago

Due to some repository having a big .git files, this change adds the exclusion of the .git directory to the list of patterns in the deployment process. This also ensures that sensitive version control information is not deployed along with the rest of the code, reducing the size of the deployment package.

jericopulvera commented 1 year ago

Closing this as it is unnecessary and is included by default in the serverless framework.

https://www.serverless.com/framework/docs/providers/aws/guide/packaging#patterns