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
537 stars 157 forks source link

How to disable minification? #329

Open mox1 opened 2 years ago

mox1 commented 2 years ago

How does one go about disabling minifcation? I am using this as part of a serverless testing project at my company. I would like to ability to at least view the resulting js code in the Lambda console. Right now it is very obfuscated (aka minified).

I have tried various serverless.yml options, none have worked..

If this feature doesn't exist, something like the following would be nice.

bundle:
   minify: false

or

bundle:
  minifyOptions:
    - minify: false
JacobSiegle commented 2 years ago

Duplicate I believe - https://github.com/AnomalyInnovations/serverless-bundle/issues/311