mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-19 23:21:37 +03:00
5da642e8eb
* Change typescript modules to esnext * Fix tsconfigs and use recommended settings * Fix server not loading env variables * Fix TS output overwriting error * Fix wrong types * Change MainPage.tsx to MainPage.jsx * Remove duplication for Node tsconfig * Update e2e tests for TS fixes * Fix formatting
21 lines
587 B
JSON
Generated
21 lines
587 B
JSON
Generated
{
|
|
"extends": "@tsconfig/node18/tsconfig.json",
|
|
"compilerOptions": {
|
|
// Overriding this until we implement more complete TypeScript support.
|
|
"strict": false,
|
|
// Overriding this because we want to use top-level await
|
|
"module": "esnext",
|
|
// Enable source map for debugging
|
|
"sourceMap": true,
|
|
|
|
// The remaining settings should match node18/tsconfig.json, but I kept
|
|
// them here to be explicit.
|
|
|
|
// Enable default imports in TypeScript.
|
|
"esModuleInterop": true,
|
|
"moduleResolution": "node",
|
|
"outDir": "dist",
|
|
"allowJs": true
|
|
}
|
|
}
|