mirror of https://github.com/nodejs/corepack.git
chore: adjust tsconfig.json settings (#532)
Because Corepack is bundled with esbuild, the correct, recommended tsconfig.json settings are: - module: preserve - moduleResolution: bundler This ensures that modules are resolved the way esbuild resolves them, and opens us to using e.g. package.json exports (which will come in handy in the next PR in which I update tar dependency).
This commit is contained in:
parent
85e556a1a9
commit
06e5872189
|
|
@ -4,11 +4,11 @@
|
|||
"baseUrl": ".",
|
||||
"esModuleInterop": true,
|
||||
"experimentalDecorators": true,
|
||||
"moduleResolution": "node",
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"lib": ["ES2023"],
|
||||
"module": "commonjs",
|
||||
"module": "preserve",
|
||||
"moduleResolution": "bundler",
|
||||
"noEmit": true,
|
||||
"resolveJsonModule": true,
|
||||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue