update tsconfig
All checks were successful
Build ESLint Config on Tag / build (push) Successful in 8s
All checks were successful
Build ESLint Config on Tag / build (push) Successful in 8s
This commit is contained in:
@@ -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
19
tsconfig.build.json
Normal 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"]
|
||||
}
|
||||
Reference in New Issue
Block a user