update tsconfig
All checks were successful
Build ESLint Config on Tag / build (push) Successful in 8s

This commit is contained in:
2025-12-21 18:12:40 +01:00
parent 4f34600d5f
commit 1fa088cb1c
3 changed files with 20 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
"type": "module",
"main": "./dist/index.js",
"scripts": {
"build": "tsc"
"build": "tsc -p tsconfig.build.json"
},
"devDependencies": {
"@types/bun": "latest",

19
tsconfig.build.json Normal file
View File

@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "nodenext",
"moduleResolution": "NodeNext",
"outDir": "dist",
"rootDir": "src",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true, // ✅ important
"strict": true,
"skipLibCheck": true,
"noEmit": false,
"declaration": false,
"sourceMap": false
},
"include": ["src/index.ts"]
}