Skip to content

Commit

Permalink
Updated tsconfig to target ES2022 and moduleResolution to bundler
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandakan committed Dec 27, 2024
1 parent 2cf2cba commit ba0c246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"src/@types/*.d.ts"
],
"compilerOptions": {
"module": "ES2022",
"moduleResolution": "bundler",
"composite": true,
"types": [
"electron-vite/node"
Expand Down
2 changes: 2 additions & 0 deletions tsconfig.web.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
"jsx": "react-jsx",
"baseUrl": ".",
"resolveJsonModule": true,
"module": "ES2022",
"moduleResolution": "bundler",
"paths": {
"@renderer/*": [
"src/renderer/src/*"
Expand Down

0 comments on commit ba0c246

Please sign in to comment.