You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We encounter troubles when deploying our backend aws lambda functions with v5 since minimize is now mandatory in production mode.
We are using components which access to class names (for instance type-graphql). They are mangled by the minimizer (obfuscating our GraphQL Schema).
In some cases, the mangled class names are not consistent (we have a "monorepo" project for our backend with some workspace inter dependencies).
Is it possible to expose the Webpack "minimize" option (a boolean) to serverless.yml? Or better, the "mangle" (or equivalent) option of the minimizer?
Thanks a lot
The text was updated successfully, but these errors were encountered:
THIS.
I have an API that is now completely broken on deployment after updating dependencies, because the serverless-mysql plugin output gets mangled by the webpack minification. Having opinionated defaults for webpack config is one thing, but having absolutely no way to override is just wrong, unless you want to state up front that the serverless-bundle plugin is only designed for a very narrow range of specific scenarios.
Hello,
We encounter troubles when deploying our backend aws lambda functions with v5 since minimize is now mandatory in production mode.
We are using components which access to class names (for instance type-graphql). They are mangled by the minimizer (obfuscating our GraphQL Schema).
In some cases, the mangled class names are not consistent (we have a "monorepo" project for our backend with some workspace inter dependencies).
Is it possible to expose the Webpack "minimize" option (a boolean) to serverless.yml? Or better, the "mangle" (or equivalent) option of the minimizer?
Thanks a lot
The text was updated successfully, but these errors were encountered: