-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.build.json
More file actions
30 lines (26 loc) · 882 Bytes
/
tsconfig.build.json
File metadata and controls
30 lines (26 loc) · 882 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"extends": "./tsconfig.json",
"compilerOptions": {
// Let the build emit .d.ts only (tsup handles JS via esbuild)
"noEmit": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationMap": true,
// Output structure
"rootDir": "src",
"outDir": "dist",
// Keep bundler-friendly module settings
"module": "Preserve",
"moduleResolution": "bundler",
"verbatimModuleSyntax": true,
// Stricter for build
"allowJs": false,
"stripInternal": true,
// tsup injects `baseUrl: "."` into the DTS compiler options
// (see node_modules/tsup/dist/rollup.js), which TS 6 flags as deprecated.
// Silence until tsup patches.
"ignoreDeprecations": "6.0"
},
"include": ["src/**/*.ts"],
"exclude": ["**/*.test.ts", "tests/**", "examples/**", "scripts/**", "coverage/**", "dist/**", "node_modules/**"]
}