Skip to content

Commit

Permalink
feat(@whook/aws-lambda): support NodeJS14
Browse files Browse the repository at this point in the history
  • Loading branch information
nfroidure committed Feb 24, 2021
1 parent 88f9f1b commit f4569eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/whook-aws-lambda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ const CONFIG: AppConfigs = {
+ ignoredModules: [],
+ extensions: ['.ts', '.js', '.json'],
+ mainFields: ['browser', 'main'],
+ target: '12.13',
+ target: '14',
+ },
};

Expand Down
2 changes: 1 addition & 1 deletion packages/whook-aws-lambda/src/services/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const DEFAULT_COMPILER_OPTIONS: Required<WhookCompilerOptions> = {
ignoredModules: [],
extensions: ['.ts', '.js', '.json'],
mainFields: ['browser', 'main'],
target: '12',
target: '14',
};

async function initCompiler({
Expand Down

0 comments on commit f4569eb

Please sign in to comment.