@agilgur5/tsconfig
Version:
My tsconfig base files, extending @tsconfig/strictest
15 lines (14 loc) • 538 B
JSON
{
// tsconfig.library.json is used for type-checking _all_ files, tsconfig.library-build.json is just used for the build
"extends": "./tsconfig.library.json",
// allowlist of files to build
"files": ["src/index.ts"],
"compilerOptions": {
// override the base
"noEmit": false,
// don't output JS files, only declarations (Rollup outputs the JS)
"emitDeclarationOnly": true,
},
// read this file as a tsconfig even though it's named slightly differently
"$schema": "https://json.schemastore.org/tsconfig",
}