forked from siefkenj/unified-latex
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tsconfig.build.json
36 lines (36 loc) · 1.07 KB
/
tsconfig.build.json
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
31
32
33
34
35
36
{
"exclude": [
"**/*.test.ts",
"**/*.stub.ts",
"node_modules",
"**/tests/",
"**/dist/**/*"
],
"compilerOptions": {
// We will use esbuild to make the actual js files.
// We don't use tsc because it will not map imports for us so if we write
// `import foo from "./bar"` it does not get translated to `import foo from "./bar.js"`
// which means it cannot be imported via node.
"emitDeclarationOnly": true,
"composite": true,
"incremental": true,
"outDir": "./dist",
"noImplicitAny": true,
"strictNullChecks": true,
"module": "ES2022",
"target": "es6",
"jsx": "react",
"allowJs": true,
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"strict": true,
"sourceMap": true,
"declaration": true,
"declarationMap": true,
"moduleResolution": "node",
"resolveJsonModule": true,
"paths": {
"@unified-latex/*": ["./packages/*"]
}
}
}