-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
29 lines (29 loc) · 890 Bytes
/
Copy pathtsconfig.json
File metadata and controls
29 lines (29 loc) · 890 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
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"lib": ["ES2022"],
"strict": true,
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"noUncheckedIndexedAccess": true,
"outDir": "dist",
/*
* src/node/** imports "@diffbot/typescript" by package name rather than a
* relative path, so tsup's `external` can keep core out of the node
* bundle (see tsup.config.ts). This alias lets tsc resolve that
* self-reference against source instead of requiring `dist/` to already
* exist on a clean checkout.
*/
"paths": {
"@diffbot/typescript": ["./src/index.ts"]
}
},
"include": ["src/**/*", "tests/**/*"],
"exclude": ["node_modules", "dist"]
}