Skip to content

Commit

Permalink
Set correct values for moduleResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
melusc committed May 26, 2022
1 parent a96f0c3 commit c78e974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"compilerOptions": {
"module": "NodeNext",
"module": "esnext",
"target": "esnext",
"lib": ["esnext", "DOM", "DOM.Iterable"],
"moduleResolution": "node",
"moduleResolution": "NodeNext",
"allowSyntheticDefaultImports": true, // To provide backwards compatibility, Node.js allows you to import most CommonJS packages with a default import. This flag tells TypeScript that it's okay to use import on CommonJS modules.
"resolveJsonModule": false, // ESM doesn't yet support JSON modules.
"jsx": "react",
Expand Down

0 comments on commit c78e974

Please sign in to comment.