mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-24 15:54:15 +00:00
editor/code: Set ts' --moduleResolution=node16 option
https://www.typescriptlang.org/tsconfig#moduleResolution By this change, typescript compiler can read `exports` field in package.json for dependencies. https://nodejs.org/api/packages.html#exports-sugar
This commit is contained in:
parent
45d4ebcf19
commit
bb35d8fa8e
@ -3,6 +3,7 @@
|
||||
"compilerOptions": {
|
||||
"esModuleInterop": false,
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node16",
|
||||
"target": "es2021",
|
||||
"outDir": "out",
|
||||
"lib": ["es2021"],
|
||||
|
Loading…
Reference in New Issue
Block a user