Files
rrweb/tsconfig.base.json
Justin Halsall 5bb69155c5 Improve development tooling (#1516)
- Running `yarn build` in a `packages/*/` directory will trigger build of all dependencies too, and cache them if possible.
- Fix for `yarn dev` breaking for `rrweb` package whenever changing files in `rrweb` package
- Update typescript, turbo, vite and vite-plugin-dts
- Require `workspaces-to-typescript-project-references` from `prepublish`
2026-04-01 12:00:00 +08:00

53 lines
1.3 KiB
JSON

{
"compilerOptions": {
"composite": true,
/**
* @see https://vitejs.dev/guide/features.html#target
*/
"esModuleInterop": true,
"target": "ESNext",
"module": "ESNext",
"moduleResolution": "Node",
"rootDir": "src",
"outDir": "dist",
"lib": ["es6", "dom"],
"sourceMap": true,
"skipLibCheck": true,
"declaration": true,
"verbatimModuleSyntax": true,
"strict": true,
"removeComments": true,
"noImplicitAny": true,
"strictNullChecks": true,
"preserveConstEnums": true,
"strictBindCallApply": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"forceConsistentCasingInFileNames": true,
"downlevelIteration": true,
// needed for vite
/**
* @see https://vitejs.dev/guide/features.html#isolatedmodules
*/
"isolatedModules": true,
"types": [
"node",
/**
* needed as long as we have jest tests
* they add globals like `test` and `expect`
*/
"jest",
/**
* @see https://vitejs.dev/guide/features.html#client-types
*/
"vite/client",
"@types/dom-mediacapture-transform",
"@types/offscreencanvas"
]
},
"exclude": ["**/vite.config.ts", "**/vitest.config.ts", "**/test"],
"compileOnSave": true
}