Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(emit): don't emit test files (#5789)
This fixes a bug introduced in #4315, which upgraded to TypeScript 5. In that PR we had to change the way that we prevented certain files from being emitted by the typescript compiler because in the 5.0 release our previous approach stopped working. However, in porting over to a new approach that worked with TS 5.0 there was an oversight. I misunderstood the intent of the old code as being to merely prevent writing `.d.ts` files in the output, when actually it was about preventing the compiled JavaScript from being written for `.e2e.ts` and `.spec.ts` files. This change ensures that we no longer emit these files. fixes #5788 STENCIL-1325
- Loading branch information