Skip to content

Commit d1969a2

Browse files
committed
clean up ts-loader configs
1 parent 9a801d0 commit d1969a2

File tree

4 files changed

+37
-13
lines changed

4 files changed

+37
-13
lines changed

lambda-layer/packages/layer/src/wrapper.d.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

lambda-layer/packages/layer/src/wrapper.d.ts.map

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
{
2-
"extends": "../../tsconfig.base",
3-
"compilerOptions": {
4-
"module": "es2020",
5-
"target": "es2020",
6-
"moduleResolution": "node",
7-
"esModuleInterop": true,
8-
},
9-
"exclude": [
10-
"node_modules",
11-
]
12-
}
2+
"extends": "../../tsconfig.esm",
3+
"compilerOptions": {
4+
"rootDir": ".",
5+
"outDir": "build",
6+
},
7+
"include": [
8+
"src/**/*.ts",
9+
"test/**/*.ts"
10+
]
11+
}

lambda-layer/tsconfig.esm.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"compilerOptions": {
3+
"moduleResolution": "node",
4+
"module": "es2020",
5+
"target": "es2020",
6+
"allowUnreachableCode": false,
7+
"allowUnusedLabels": false,
8+
"declaration": true,
9+
"declarationMap": true,
10+
"esModuleInterop": true,
11+
"forceConsistentCasingInFileNames": true,
12+
"noEmitOnError": true,
13+
"noFallthroughCasesInSwitch": true,
14+
"noImplicitReturns": true,
15+
"noUnusedLocals": true,
16+
"pretty": true,
17+
"sourceMap": true,
18+
"strict": true,
19+
"strictNullChecks": true,
20+
"incremental": true,
21+
"newLine": "LF"
22+
},
23+
"exclude": [
24+
"node_modules"
25+
]
26+
}
27+

0 commit comments

Comments
 (0)