Skip to content

Commit a6611e4

Browse files
committedOct 14, 2024·
Improve tsconfig.json
* Use moduleResolution: bundler to enable conditional imports and exports * Add "fastly" custom condition to match js-compute-runtime * Remove skipLibCheck as that is no longer needed
1 parent b5a01d4 commit a6611e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎tsconfig.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"strict": true,
44
"module": "ES2022",
55
"target": "ES2022",
6-
"moduleResolution": "node",
6+
"moduleResolution": "bundler",
7+
"customConditions": [ "fastly" ],
78
"esModuleInterop": true,
8-
"lib": [ "es2022" ],
9+
"lib": [ "ES2022" ],
910
"rootDir": "src",
10-
"outDir": "build",
11-
"skipLibCheck": true
11+
"outDir": "build"
1212
},
1313
"include": [
1414
"./src/**/*.js",

0 commit comments

Comments
 (0)
Please sign in to comment.