paths.ts-build-root-dir-path
The name of the folder that TypeScript should be treat as the root directory when building your project
Default Value
src/
Description
The value of this config is assigned to the compilerOptions.rootDir
property in your tsconfig-build.json
file.
If you decide to change this value, follow these guidelines:
- You must also update your
paths.ts-build-exclude-paths
value - You must not use a name that collides with an existing directory in your project, such as
dist/
ortests/
- You should use a descriptive name such as
ts/
to indicates that the folder contains your TypeScript source code
Example Update
Edit this page on GitHub$ hats config paths.ts-build-root-dir-path "ts/"