Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2024

Conversation

Lms24
Copy link
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 mydea and AbhiPrasad 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