update: Add tsconfig.build.json

Signed-off-by: bcakmakoglu <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
bcakmakoglu
2022-02-21 20:25:17 +01:00
committed by Braks
parent b7abb31c24
commit b51c26f6bb
3 changed files with 49 additions and 2 deletions
+44
View File
@@ -0,0 +1,44 @@
{
"compilerOptions": {
"outDir": "./tmp",
"baseUrl": ".",
"module": "ESNext",
"target": "es2017",
"lib": [
"DOM",
"ESNext"
],
"declaration": true,
"declarationDir": "./dist",
"strict": true,
"esModuleInterop": true,
"incremental": false,
"skipLibCheck": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"noUnusedLocals": false,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
"types": [
"vite/client",
"cypress"
],
"paths": {
"~/*": [
"src/*"
]
},
"plugins": [
// Transform paths in output .d.ts files (Include this line if you output declarations files)
{ "transform": "typescript-transform-paths", "afterDeclarations": true }
]
},
"include": ["src"],
"exclude": [
"examples",
"node_modules",
"build",
"dist",
"cypress"
]
}