Skip to content

Commit

Permalink
Set typescript compiler options: module to ES2020, `moduleResolut…
Browse files Browse the repository at this point in the history
…ion` to `Bundler`
  • Loading branch information
MajorLift committed Dec 9, 2023
1 parent 5d7e990 commit f14624e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tsconfig.packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"composite": true,
"esModuleInterop": true,
"lib": ["ES2020", "DOM"],
"module": "Node16",
"moduleResolution": "Node16",
"module": "ES2020",
"moduleResolution": "Bundler",
/**
* Here we ensure that TypeScript resolves `@metamask/*` imports to the
* uncompiled source code for packages that live in this repo.
Expand All @@ -13,7 +13,7 @@
* `jest.config.packages.js`.
*/
"paths": {
"@metamask/*": ["../*/src"]
"@metamask/*": ["../*/src", "../node_modules/@metamask/*/src"]
},
"strict": true,
"target": "es6"
Expand Down

0 comments on commit f14624e

Please sign in to comment.