Skip to content

Commit

Permalink
debug: really enable source maps
Browse files Browse the repository at this point in the history
Thanks to moltar in #9.
  • Loading branch information
berenddeboer committed May 11, 2024
1 parent f108f35 commit bc2f163
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ export class Provider extends Construct {
timeout: props.timeout ?? Duration.seconds(300),
bundling: {
sourceMap: true,
sourcesContent: false,
externalModules: ["pg-native"],
},
environment: {
LOGGER: logger.toString(),
NODE_OPTIONS: "--enable-source-maps",
},
})
return fn
Expand Down

0 comments on commit bc2f163

Please sign in to comment.