aboutsummaryrefslogtreecommitdiffstats
path: root/tsconfig.json
diff options
context:
space:
mode:
Diffstat (limited to 'tsconfig.json')
-rw-r--r--tsconfig.json41
1 files changed, 13 insertions, 28 deletions
diff --git a/tsconfig.json b/tsconfig.json
index 3ee30e3..a4d9078 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,32 +1,17 @@
{
"compilerOptions": {
- "allowJs": true,
- "allowSyntheticDefaultImports": true,
- "lib": [
- "dom",
- "es2017"
- ],
- "rootDir": "src",
- "outDir": "build",
- "module": "commonjs",
- "moduleResolution": "node",
- "noUnusedLocals": true,
- "noUnusedParameters": true,
- "preserveConstEnums": true,
- "removeComments": true,
- "skipLibCheck": true,
- "sourceMap": true,
- "strict": true,
- "target": "esnext",
- "forceConsistentCasingInFileNames": true,
+ // This tsconfig is a minimal placeholder retained only for IDE tooling / editor intellisense.
+ // The build pipeline uses `bun build` (see package.json scripts) to produce a single
+ // CommonJS bundle at build/index.js suitable for running with plain `node`.
+ // No type-check step is performed as part of the build.
+ "target": "ES2020",
+ "module": "CommonJS",
+ "moduleResolution": "Node",
"esModuleInterop": true,
- "resolveJsonModule": true,
- "isolatedModules": true
+ "strict": true,
+ "skipLibCheck": true,
+ "resolveJsonModule": true
},
- "exclude": [
- "node_modules"
- ],
- "include": [
- "src/",
- ]
-} \ No newline at end of file
+ "include": ["src/**/*"],
+ "exclude": ["node_modules", "build"]
+}