diff --git a/app/tsconfig.json b/app/tsconfig.json index fd00ca1..ed998c5 100644 --- a/app/tsconfig.json +++ b/app/tsconfig.json @@ -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, @@ -33,4 +37,4 @@ // https://stackoverflow.com/questions/42609768/typescript-error-cannot-write-file-because-it-would-overwrite-input-file "outDir": ".wasp/phantom" } -} \ No newline at end of file +}