Skip to content

Commit

Permalink
chore: reset module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
david-luna committed Dec 19, 2024
1 parent 920c2c3 commit bb7568d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/esm-http-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* Modules */
"module": "ESNext" /* Specify what module code is generated. */,
"rootDir": "." /* Specify the root folder within your source files. */,
"moduleResolution": "nodenext" /* Specify how TypeScript looks up a file from a given module specifier. */,
"moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */,
"resolveJsonModule": true /* Enable importing .json files. */,

/* Emit */
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.base.esnext.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"module": "esnext",
// target should be aligned with tsconfig.base.json
"target": "es2017",
"moduleResolution": "node10"
"moduleResolution": "node"
},
}
2 changes: 1 addition & 1 deletion tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"forceConsistentCasingInFileNames": true,
"incremental": true,
"inlineSources": true,
"module": "NodeNext",
"module": "CommonJS",
"newLine": "LF",
"noEmitOnError": true,
"noFallthroughCasesInSwitch": true,
Expand Down

0 comments on commit bb7568d

Please sign in to comment.