1
0

switch to tsx and update build config

This commit is contained in:
2024-08-15 00:33:11 +02:00
parent e63684175b
commit aedad87c8e
4 changed files with 239 additions and 314 deletions

View File

@@ -1,10 +1,11 @@
{
"compilerOptions": {
"target": "ES2022",
"module": "Node16",
"target": "ES2023",
"moduleResolution": "Node16",
"rootDir": "src",
"outDir": "dist",
"outDir": "build",
"outFile": "build/index.ts",
"esModuleInterop": true,
"alwaysStrict": true,
"strict": true,
@@ -12,14 +13,9 @@
"allowUnreachableCode": true,
"declaration": true,
"declarationMap": true,
"emitDeclarationOnly": true,
"outFile": "dist/index.ts"
"emitDeclarationOnly": true
},
"include": [
"src"
],
"ts-node": {
"esm": true,
"experimentalSpecifierResolution": "node"
}
]
}