Skip to content
Source
Sign inSign up
TanStack/schemas
Open History to see the last commit

tsconfig.build.json

23 lines708 Bytes

1// `bun run build`: plain ES2022 JS plus .d.ts in dist/, the files npm
2// ships (scripts/npm-pack.ts lifts publishConfig onto the packed
3// manifest). No DOM or Node types, so the output runs on edge runtimes.
4{
5 "compilerOptions": {
6 "target": "ES2022",
7 "module": "ESNext",
8 "moduleResolution": "bundler",
9 "lib": ["ES2022"],
10 "types": [],
11 "allowImportingTsExtensions": true,
12 "rewriteRelativeImportExtensions": true,
13 "verbatimModuleSyntax": true,
14 "strict": true,
15 "noUncheckedIndexedAccess": true,
16 "skipLibCheck": true,
17 "declaration": true,
18 "rootDir": "src",
19 "outDir": "dist"
20 },
21 "include": ["src"],
22 "exclude": ["src/**/*.test.ts", "src/fixtures"]