diff --git a/packages/whook-aws-lambda/README.md b/packages/whook-aws-lambda/README.md index 9b1eadfe..14da3f6f 100644 --- a/packages/whook-aws-lambda/README.md +++ b/packages/whook-aws-lambda/README.md @@ -129,7 +129,7 @@ const CONFIG: AppConfigs = { + ignoredModules: [], + extensions: ['.ts', '.js', '.json'], + mainFields: ['browser', 'main'], -+ target: '12.13', ++ target: '14', + }, }; diff --git a/packages/whook-aws-lambda/src/services/compiler.ts b/packages/whook-aws-lambda/src/services/compiler.ts index 939c15a6..37c6fbd7 100644 --- a/packages/whook-aws-lambda/src/services/compiler.ts +++ b/packages/whook-aws-lambda/src/services/compiler.ts @@ -41,7 +41,7 @@ export const DEFAULT_COMPILER_OPTIONS: Required = { ignoredModules: [], extensions: ['.ts', '.js', '.json'], mainFields: ['browser', 'main'], - target: '12', + target: '14', }; async function initCompiler({