Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws-serverless): Avoid minifying
Module._resolveFilename
in Lam…
…bda layer bundle (#12232) FIx one of the two issues that currently cause our lambda layer to break. When we build the lambda layer bundle we applied minification via our terser plugin which mangles `_`-prefixed private variables - like `Module._resolveFilename`. This patch adds the method to the list of excluded `_`-prefixed symbols.
- Loading branch information