Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jsii): excessive "exclude" in "tsconfig.json" (#1736)
In cases where both `jsii.tsc.outDir` and `jsii.tsc.rootDir` are set, and `rootDir` happens to be a parent directory of `outDir`, the generated `exclude` would match all files from `rootDir`, resulting in an empty input set. This makes sure to not emit an `exclude` declaration for `outDir` in this case, so that input files do not get excluded. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0
- Loading branch information