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
When using defineFunction in Amplify Gen2,
TypeScript code is transpiled and minified, making it difficult to directly modify the Lambda function when opening it in the management console.
There may be times when we want to make small additions to the code for debugging or verifying functionality.
I would like an option to be added to defineFunction that prevents minification.
Use case
export const function = defineFunction({
name: 'function-name',
entry: './handler.ts',
runtime: 20,
timeoutSeconds: 900,
environment :{
TABLE_NAME: 'xxx',
},
schedule: "0 0 ? * 1",
minify: false, << like this
});
The text was updated successfully, but these errors were encountered:
Environment information
Describe the feature
When using defineFunction in Amplify Gen2,
TypeScript code is transpiled and minified, making it difficult to directly modify the Lambda function when opening it in the management console.
There may be times when we want to make small additions to the code for debugging or verifying functionality.
I would like an option to be added to defineFunction that prevents minification.
Use case
The text was updated successfully, but these errors were encountered: