AnomalyInnovations / serverless-bundle

Optimized packages for ES6 and TypeScript Node.js Lambda functions without any configuration.
https://serverless-stack.com/chapters/package-lambdas-with-serverless-bundle.html
MIT License
532 stars 153 forks source link

Generate source maps but dont include in the .zip-file #330

Open severi opened 1 year ago

severi commented 1 year ago

Use Case: I want to be able to upload the source maps to Sentry, but not to AWS in order to keep the functions small

Currently there only seems to be an option to generate the sourcemaps AND to include them in the .zip file that gets uploaded to AWS. Is there anyway to get the sourcemaps generated but exclude them from the .zip-file?

https://github.com/arabold/serverless-sentry-plugin#source-maps