-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtsconfig.json
More file actions
21 lines (21 loc) · 955 Bytes
/
tsconfig.json
File metadata and controls
21 lines (21 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"extends": "@total-typescript/tsconfig/bundler/no-dom/library",
"compilerOptions": {
// TODO: Remove once tsup stops injecting the deprecated `baseUrl` option
// during DTS builds. Tracked in https://github.com/egoist/tsup/issues/1388
"ignoreDeprecations": "6.0",
"outDir": "./dist",
"rootDir": "./src",
"verbatimModuleSyntax": false,
// Pull in Node's globals (setTimeout/clearTimeout/etc) explicitly. The
// preset's `lib: es2022` excludes both DOM and Node, so the standard
// timer functions used in async-client.ts wouldn't otherwise resolve.
// Listing @types/node here is robust against changes in the dependency
// graph — previously `@types/node` was reached through a runtime path
// (via @types/bn.js → @polkadot/util-crypto), but that path is gone
// and we now opt in directly.
"types": ["node"]
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test"]
}