Closed moltar closed 6 months ago
This bundle source:
https://github.com/berenddeboer/cdk-rds-sql/blob/2ee7dd1e969bb7b0d7291faa0d6b66f49c34498b/src/provider.ts#L68
Another good option to have is:
sourcesContent: false,
And finally, this flag needs to be set to activate the source map output in the log:
fn.addEnvironment('NODE_OPTIONS', '--enable-source-maps')
Otherwise, error stack does not output the right refs.
See #8 for an example of the error message.
This bundle source:
https://github.com/berenddeboer/cdk-rds-sql/blob/2ee7dd1e969bb7b0d7291faa0d6b66f49c34498b/src/provider.ts#L68
Another good option to have is:
And finally, this flag needs to be set to activate the source map output in the log:
Otherwise, error stack does not output the right refs.
See #8 for an example of the error message.