Resolve issue #1652 - Typescript plugin fails to compile the entry point when there is at least one invalid TypeScript file somewhere is the working directory #1653
[x] yes (bugfixes and features will not be merged without tests)
[ ] no
Breaking Changes?
[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no
List any relevant issue numbers:
resolves #1652
Description
This PR solves the issue described in #1652. It focuses on not creating a breaking changes by ensuring that no existing test was modified - except one that I'd like to discuss with the maintainers.
Basically, what this PR does is to remove the initial emit of all the files included in th working directory and instead emit files that are part of the dependency graph of the entry point.
Rollup Plugin Name:
typescript
This PR contains:
Are tests included?
Breaking Changes?
List any relevant issue numbers:
Description
This PR solves the issue described in #1652. It focuses on not creating a breaking changes by ensuring that no existing test was modified - except one that I'd like to discuss with the maintainers.
Basically, what this PR does is to remove the initial emit of all the files included in th working directory and instead emit files that are part of the dependency graph of the entry point.