File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default [
1919 // We only need one copy of the SDK, and we pick the minified one because there's a cap on how big a lambda function
2020 // plus its dependencies can be, and we might as well take up as little of that space as is necessary. We'll rename
2121 // it to be `index.js` in the build script, since it's standing in for the index file of the npm package.
22- { variants : [ '.min.js' ] } ,
22+ { variants : [ '.debug. min.js' ] } ,
2323 ) ,
2424 makeBaseNPMConfig ( {
2525 entrypoints : [ 'src/awslambda-auto.ts' ] ,
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ async function buildLambdaLayer(): Promise<void> {
1919 // We build a minified bundle, but it's standing in for the regular `index.js` file listed in `package.json`'s `main`
2020 // property, so we have to rename it so it's findable.
2121 fs . renameSync (
22- 'build/aws/dist-serverless/nodejs/node_modules/@sentry/aws-serverless/build/npm/cjs/index.min.js' ,
22+ 'build/aws/dist-serverless/nodejs/node_modules/@sentry/aws-serverless/build/npm/cjs/index.debug. min.js' ,
2323 'build/aws/dist-serverless/nodejs/node_modules/@sentry/aws-serverless/build/npm/cjs/index.js' ,
2424 ) ;
2525
You can’t perform that action at this time.
0 commit comments