Files
chat/tsconfig.build.json
zeekay 7f88c3f4e9 Carry source maps and the editor gesture
Every bundle and the published package now name the source they came from,
and in development Alt + right click on anything opens its file.
2026-09-03 16:52:05 -07:00

22 lines
788 B
JSON

{
// What ships. The app's own config never emits, because the app is bundled
// from source; a package that another project installs has to hand it real
// files and real declarations, since no resolver compiles TypeScript found
// inside node_modules.
"extends": "./tsconfig.json",
"compilerOptions": {
"noEmit": false,
"declaration": true,
"declarationMap": true,
"sourceMap": true,
// Source names the file it means, so `node --test` can run it straight; on
// emit the same specifier becomes the `.js` beside it, which is the only
// spelling Node resolves in a package.
"rewriteRelativeImportExtensions": true,
"outDir": "dist",
"rootDir": "src"
},
"include": ["src"],
"exclude": ["src/**/*.test.ts", "src/**/*.test.tsx"]
}