diff --git a/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/package.json b/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/package.json index f40b50a5b..8d40c0c5c 100644 --- a/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/package.json +++ b/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/package.json @@ -1,5 +1,6 @@ { "name": "serverless-plugin-typescript-test", + "type": "module", "devDependencies": { "@types/aws-lambda": "8.10.102", "serverless-plugin-typescript": "2.1.2", diff --git a/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/tsconfig.json b/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/tsconfig.json index 2250a43d1..ccedf393d 100644 --- a/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/tsconfig.json +++ b/tests/scenario/serverless-plugins/serverless-plugin-typescript/app/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "esModuleInterop": true, - "module": "CommonJS", + "module": "ES2020", "moduleResolution": "Node", "sourceMap": true, "strict": true, diff --git a/tests/scenario/serverless-plugins/serverless-webpack/app/tsconfig.json b/tests/scenario/serverless-plugins/serverless-webpack/app/tsconfig.json index b3500095d..ccedf393d 100644 --- a/tests/scenario/serverless-plugins/serverless-webpack/app/tsconfig.json +++ b/tests/scenario/serverless-plugins/serverless-webpack/app/tsconfig.json @@ -3,6 +3,7 @@ "esModuleInterop": true, "module": "ES2020", "moduleResolution": "Node", + "sourceMap": true, "strict": true, "target": "ES2020" }