Skip to content

Commit

Permalink
Set module to NodeNext in template tsconfigs
Browse files Browse the repository at this point in the history
  • Loading branch information
szymmis committed Nov 26, 2023
1 parent 7acccf2 commit c8ed1a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion create-vite-express/templates/react-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"allowSyntheticDefaultImports": true,
"strict": true,
"forceConsistentCasingInFileNames": true,
"module": "CommonJS",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"resolveJsonModule": true,
"isolatedModules": true,
Expand Down
2 changes: 1 addition & 1 deletion create-vite-express/templates/vanilla-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "CommonJS",
"module": "NodeNext",
"lib": ["ESNext", "DOM"],
"moduleResolution": "NodeNext",
"strict": true,
Expand Down
2 changes: 1 addition & 1 deletion create-vite-express/templates/vue-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "CommonJS",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"strict": true,
"jsx": "preserve",
Expand Down

0 comments on commit c8ed1a3

Please sign in to comment.