Skip to content

Commit f4569eb

Browse files
committed
feat(@whook/aws-lambda): support NodeJS14
1 parent 88f9f1b commit f4569eb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/whook-aws-lambda/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ const CONFIG: AppConfigs = {
129129
+ ignoredModules: [],
130130
+ extensions: ['.ts', '.js', '.json'],
131131
+ mainFields: ['browser', 'main'],
132-
+ target: '12.13',
132+
+ target: '14',
133133
+ },
134134
};
135135

packages/whook-aws-lambda/src/services/compiler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const DEFAULT_COMPILER_OPTIONS: Required<WhookCompilerOptions> = {
4141
ignoredModules: [],
4242
extensions: ['.ts', '.js', '.json'],
4343
mainFields: ['browser', 'main'],
44-
target: '12',
44+
target: '14',
4545
};
4646

4747
async function initCompiler({

0 commit comments

Comments
 (0)