switch to tsx and update build config
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user