79825365

Date: 2025-11-20 10:10:28
Score: 3.5
Natty:
Report link

I've been looking into this a bit and it seems that currently the Amplify v2 does not support this.

Eg. the only bundling config I could find when you use defineFunction is minify (see https://github.com/aws-amplify/amplify-backend/blob/main/packages/backend-function/src/factory.ts#L235-L242)

On the other hand it seems that the source maps are turned on by default https://github.com/aws-amplify/amplify-backend/blob/main/packages/backend-function/src/factory.ts#L491

Do you use latest version of Amplify?

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Cockootec