-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathtsconfig-build.json
More file actions
23 lines (22 loc) · 935 Bytes
/
tsconfig-build.json
File metadata and controls
23 lines (22 loc) · 935 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
// using tsc for type declarations as "Note that declaration files generated by any tool other than tsc are not guaranteed to be error-free, so it's a good idea to test the output with tsc" - https://tsup.egoist.dev/#generate-declaration-file
"extends": "./config-typescript/react-library.json",
"compilerOptions": {
"outDir": "dist",
"noEmit": false,
"emitDeclarationOnly": true,
"declarationMap": false,
"paths": {
"@/lib/utils": ["./src/utils"],
"@/lib/utils/*": ["./src/utils/*"],
"@/components/*": ["./src/components/*"],
"@/images/*": ["./src/images/*"],
"@/tests/*": ["./src/tests/*"],
"@/hooks/*": ["./src/hooks/*"],
"@/payload-types" : ["./src/payload-types"],
"@/common-types" : ["./src/common-types"]
}
},
"include": ["src"],
"exclude": ["dist", "node_modules", "**/*.test.*", "**/*.spec.*", "**/*.mdx", "**/*.stories.*", "**/*.test.tsx"]
}