Skip to content

Commit

Permalink
build(tsc): Set moduleResolution to node16 and target to corres…
Browse files Browse the repository at this point in the history
…ponding setting `ES2022`
  • Loading branch information
MajorLift committed Jul 7, 2024
1 parent 555ec31 commit fa38ef7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tsconfig.packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
"compilerOptions": {
"composite": true,
"esModuleInterop": true,
"lib": ["ES2020", "DOM"],
"module": "NodeNext",
"moduleResolution": "NodeNext",
"lib": ["ES2022", "DOM"],
"module": "Node16",
"moduleResolution": "Node16",
/**
* Here we ensure that TypeScript resolves `@metamask/*` imports to the
* uncompiled source code for packages that live in this repo.
Expand All @@ -16,6 +16,6 @@
"@metamask/*": ["../*/src"]
},
"strict": true,
"target": "ES2020"
"target": "ES2022"
}
}

0 comments on commit fa38ef7

Please sign in to comment.