mirror of
https://github.com/hanzoai/chat.git
synced 2026-09-30 20:51:17 +00:00
The tilde resolves through the importing project's tsconfig, so a published file asking for ~/data/types reads the consumer's source, not ours. A relative path means the same thing in every project that installs this one.
24 lines
719 B
JSON
24 lines
719 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2023",
|
|
"lib": ["ES2023", "DOM", "DOM.Iterable"],
|
|
"module": "ESNext",
|
|
"moduleResolution": "bundler",
|
|
"moduleDetection": "force",
|
|
"jsx": "react-jsx",
|
|
"types": ["node", "vite/client"],
|
|
"strict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"verbatimModuleSyntax": true,
|
|
"isolatedModules": true,
|
|
// `node --test` runs the suites straight off source; Node ESM needs the
|
|
// extension, and nothing emits, so importing one is exact rather than lax.
|
|
"allowImportingTsExtensions": true,
|
|
"skipLibCheck": true,
|
|
"noEmit": true
|
|
},
|
|
"include": ["src", "vite.config.ts"]
|
|
}
|