Skip to content

Commit

Permalink
feat(Templates): Improve source maps handling in aws-nodejs-typescript
Browse files Browse the repository at this point in the history
(PR #9961)
  • Loading branch information
adriencaccia committed Sep 16, 2021
1 parent 7eba95f commit 28d230f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
Expand Up @@ -11,8 +11,7 @@
},
"dependencies": {
"@middy/core": "^1.5.2",
"@middy/http-json-body-parser": "^1.5.2",
"source-map-support": "^0.5.19"
"@middy/http-json-body-parser": "^1.5.2"
},
"devDependencies": {
"@serverless/typescript": "^2.23.0",
Expand Down
Expand Up @@ -21,6 +21,7 @@ const serverlessConfiguration: AWS = {
},
environment: {
AWS_NODEJS_CONNECTION_REUSE_ENABLED: '1',
NODE_OPTIONS: '--enable-source-maps --stack-trace-limit=1000',
},
lambdaHashingVersion: '20201221',
},
Expand Down
@@ -1,5 +1,3 @@
import 'source-map-support/register';

import type { ValidatedEventAPIGatewayProxyEvent } from '@libs/apiGateway';
import { formatJSONResponse } from '@libs/apiGateway';
import { middyfy } from '@libs/lambda';
Expand Down

0 comments on commit 28d230f

Please sign in to comment.