serverless-bundle icon indicating copy to clipboard operation
serverless-bundle copied to clipboard

How to disable minification?

Open mox1 opened this issue 2 years ago • 1 comments

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

mox1 avatar Sep 19 '22 21:09 mox1

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

JacobSiegle avatar Oct 07 '22 13:10 JacobSiegle