Skip to content

Commit 81b8670

Browse files
committed
[CPL-19831] adjust tsconfig for using tsx as a bundler
1 parent 3b379fd commit 81b8670

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tsconfig.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"rootDir": "./src",
44
"target": "ESNext",
55
"lib": ["ESNext"],
6-
"module": "Preserve",
6+
"module": "ESNext",
7+
"moduleResolution": "bundler",
78
"moduleDetection": "force",
89
"resolveJsonModule": true,
910
"esModuleInterop": true,
@@ -17,6 +18,12 @@
1718
"@/logger": ["./src/logger"]
1819
},
1920

21+
// using `tsx` as a bundler
22+
"noEmit": true,
23+
"allowImportingTsExtensions": true,
24+
"allowArbitraryExtensions": true,
25+
"verbatimModuleSyntax": true,
26+
2027
// Type checking
2128
"strict": true,
2229
"skipLibCheck": true,

0 commit comments

Comments
 (0)