actual-server/tsconfig.json
Arthur E. Jones 9e2d253fb6 fix: correct tsconfig for node.js
- specify module type, resolution, and interop. this package runs under
  nodejs, not a browser environment, and needs ts to be configured
  accordingly.
2022-05-20 13:58:48 -04:00

21 lines
522 B
JSON

{
"compilerOptions": {
"target": "ES2022",
// DOM for URL global in Node 16+
"lib": ["ES2021", "DOM"],
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"experimentalDecorators": true,
"resolveJsonModule": true,
"downlevelIteration": true,
"jsx": "preserve",
// Check JS files too
"allowJs": true,
"checkJs": true,
"moduleResolution": "node",
"module": "commonjs",
"outDir": "build"
},
"exclude": ["node_modules", "build", "./app-plaid.js"]
}