Skip to content

fix(aws-serverless): Avoid minifying Module._resolveFilename in Lambda layer bundle#12232

Merged
Lms24 merged 2 commits intodevelopfrom
lms/fix-aws-layer-build-minification
May 27, 2024
Merged

fix(aws-serverless): Avoid minifying Module._resolveFilename in Lambda layer bundle#12232
Lms24 merged 2 commits intodevelopfrom
lms/fix-aws-layer-build-minification

Conversation

@Lms24
Copy link
Copy Markdown
Member

@Lms24 Lms24 commented May 27, 2024

This PR fixes one of the two issues that currently cause our lambda layer to break. When we build the lambda layer bundle we apply minification via our terser plugin which mangles _-prefixed private variables - like Module._resolveFilename.

To be clear, this PR unfortunately does not fix the lambda layer as we're still blocked on this issue. Not sure what we can do SDK-side to fix this.

ref: #12089

@Lms24 Lms24 requested review from AbhiPrasad and mydea May 27, 2024 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants