Skip to content

Commit

Permalink
Replace deprecated moduleResolution Node with Node10
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Mar 14, 2024
1 parent 2c8645f commit 009f9b7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion playgrounds/cjs/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "Node",
"moduleResolution": "Node10",
"target": "ES2022",
"noEmit": true,
"strict": true
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/esm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "ES2022",
"moduleResolution": "Node",
"moduleResolution": "Node10",
"target": "ES2022",
"noEmit": true,
"strict": true
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/nextjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"noEmit": true,
"esModuleInterop": true,
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Node10",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-cjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "Node10",
"strict": true,
"jsx": "preserve",
"sourceMap": true,
Expand Down
2 changes: 1 addition & 1 deletion playgrounds/vite-cjs/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "Node"
"moduleResolution": "Node10"
},
"include": ["vite.config.ts"]
}
2 changes: 1 addition & 1 deletion playgrounds/webpack-cjs/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"module": "ESNext",
"strict": true,
"jsx": "preserve",
"moduleResolution": "Node",
"moduleResolution": "Node10",
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
Expand Down

0 comments on commit 009f9b7

Please sign in to comment.