Skip to content

Commit f14624e

Browse files
committed
Set typescript compiler options: module to ES2020, moduleResolution to Bundler
1 parent 5d7e990 commit f14624e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tsconfig.packages.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"composite": true,
44
"esModuleInterop": true,
55
"lib": ["ES2020", "DOM"],
6-
"module": "Node16",
7-
"moduleResolution": "Node16",
6+
"module": "ES2020",
7+
"moduleResolution": "Bundler",
88
/**
99
* Here we ensure that TypeScript resolves `@metamask/*` imports to the
1010
* uncompiled source code for packages that live in this repo.
@@ -13,7 +13,7 @@
1313
* `jest.config.packages.js`.
1414
*/
1515
"paths": {
16-
"@metamask/*": ["../*/src"]
16+
"@metamask/*": ["../*/src", "../node_modules/@metamask/*/src"]
1717
},
1818
"strict": true,
1919
"target": "es6"

0 commit comments

Comments
 (0)