* Chore: Add move most types from rrweb to @rrweb/types package * Split off type imports * Split off type import to its own line * Get vite to generate type definitions * Apply formatting changes * noEmit not allowed in tsconfig, moved it to build step * Align version of @rrweb/types with main rrweb package Based on @mark-fenng's comments https://github.com/rrweb-io/rrweb/pull/1031/files#r1002298176 * Move up keywords
27 lines
541 B
JSON
27 lines
541 B
JSON
{
|
|
"compilerOptions": {
|
|
"composite": true,
|
|
"target": "ES6",
|
|
"module": "commonjs",
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"removeComments": true,
|
|
"preserveConstEnums": true,
|
|
"sourceMap": true,
|
|
"rootDir": "src",
|
|
"outDir": "build",
|
|
"lib": ["es6", "dom"],
|
|
"skipLibCheck": true,
|
|
"declaration": true,
|
|
"importsNotUsedAsValues": "error"
|
|
},
|
|
"compileOnSave": true,
|
|
"exclude": ["test"],
|
|
"include": ["src"],
|
|
"references": [
|
|
{
|
|
"path": "../rrweb-snapshot"
|
|
}
|
|
]
|
|
}
|