deckhearth/api/tsconfig.json
Randall Stillwell 9243f6ff4e Fix Vercel ES module import issues
- Change JSON import to use require() to avoid module loading issues
- Add api/tsconfig.json with CommonJS module configuration
- Update Vercel Node.js runtime to @vercel/node@3.2.0
- Add buildCommand to vercel.json for proper compilation
- Fix 'Cannot use import statement outside a module' error
2025-07-21 16:12:24 -05:00

22 lines
No EOL
441 B
JSON

{
"compilerOptions": {
"target": "ES2020",
"module": "CommonJS",
"moduleResolution": "node",
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"declaration": false,
"outDir": "./dist"
},
"include": [
"**/*.ts"
],
"exclude": [
"node_modules",
"dist"
]
}