Closed agilgur5 closed 2 years ago
Simplify tsconfig.json by using my own tsconfig, @agilgur5/tsconfig.
tsconfig.json
tsconfig
@agilgur5/tsconfig
this is my own tsconfig base built on top of @tsconfig/strictest
@tsconfig/strictest
TS doesn't yet support package exports for tsconfigs yet (https://github.com/microsoft/TypeScript/issues/48665), hence the longer path into the package
exports
Relative paths in tsconfig bases are also relative within node_modules (https://github.com/microsoft/TypeScript/issues/29172), so have to repeat any relative paths here
node_modules
build
Summary
Simplify
tsconfig.json
by using my owntsconfig
,@agilgur5/tsconfig
.Details
this is my own
tsconfig
base built on top of@tsconfig/strictest
@tsconfig/strictest
doesn't coverTS doesn't yet support package
exports
fortsconfig
s yet (https://github.com/microsoft/TypeScript/issues/48665), hence the longer path into the packageRelative paths in
tsconfig
bases are also relative withinnode_modules
(https://github.com/microsoft/TypeScript/issues/29172), so have to repeat any relative paths herebuild
to extend the base here instead of thebuild
tsconfig in@agilgur5/tsconfig
tsconfig