Skip to content

Commit a3930e8

Browse files
committed
Rename prop
1 parent f122029 commit a3930e8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.changeset/chilled-worms-hunt.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@vercel/build-utils': minor
33
---
44

5-
Add `shouldUseWebApi` property to `NodejsLambda` class
5+
Add `useWebApi` property to `NodejsLambda` class

packages/build-utils/src/nodejs-lambda.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,29 @@ import { Lambda, LambdaOptionsWithFiles } from './lambda';
33
interface NodejsLambdaOptions extends LambdaOptionsWithFiles {
44
shouldAddHelpers: boolean;
55
shouldAddSourcemapSupport: boolean;
6-
shouldUseWebApi?: boolean;
76
awsLambdaHandler?: string;
7+
useWebApi?: boolean;
88
}
99

1010
export class NodejsLambda extends Lambda {
1111
launcherType: 'Nodejs';
1212
shouldAddHelpers: boolean;
1313
shouldAddSourcemapSupport: boolean;
14-
shouldUseWebApi?: boolean;
1514
awsLambdaHandler?: string;
15+
useWebApi?: boolean;
1616

1717
constructor({
1818
shouldAddHelpers,
1919
shouldAddSourcemapSupport,
20-
shouldUseWebApi,
2120
awsLambdaHandler,
21+
useWebApi,
2222
...opts
2323
}: NodejsLambdaOptions) {
2424
super(opts);
2525
this.launcherType = 'Nodejs';
2626
this.shouldAddHelpers = shouldAddHelpers;
2727
this.shouldAddSourcemapSupport = shouldAddSourcemapSupport;
28-
this.shouldUseWebApi = shouldUseWebApi;
2928
this.awsLambdaHandler = awsLambdaHandler;
29+
this.useWebApi = useWebApi;
3030
}
3131
}

0 commit comments

Comments
 (0)