Skip to content

Commit

Permalink
Make first breakthrough in autocompleting imports
Browse files Browse the repository at this point in the history
  • Loading branch information
sodic committed Mar 18, 2024
1 parent ebf20e0 commit 7635266
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion waspc/data/Cli/templates/skeleton/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
// compiler. Proper TS compiler configuration in Wasp is coming soon :)
{
"compilerOptions": {
"target": "esnext",
// We're bundling all code in the end so this is the most appropriate option,
// it's also important for autocomplete to work properly.
"moduleResolution": "bundler",
// JSX support
"jsx": "preserve",
"strict": true,
Expand Down Expand Up @@ -33,4 +37,4 @@
// https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file
"outDir": ".wasp/phantom"
}
}
}

0 comments on commit 7635266

Please sign in to comment.