Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ericmorand
Copy link

@ericmorand ericmorand commented Dec 16, 2023

Rollup Plugin Name: typescript

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

Are tests included?

  • yes (bugfixes and features will not be merged without tests)
  • no

Breaking Changes?

  • yes (breaking changes will not be merged unless absolutely necessary)
  • no

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.

@ericmorand ericmorand force-pushed the issue-1652 branch 3 times, most recently from 8a6fc73 to 42370bc Compare December 17, 2023 12:48
Copy link
Collaborator

@shellscape shellscape left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the changes here look good. Thanks for putting this together. I do think this needs another person to put eyes on it before merging. @NotWoods please take a look if you have the chance.

@shellscape
Copy link
Collaborator

Apologies for the delay. We always have a shortage of maintainers for this repo, and it doesn't look like anyone else has stepped in to review this. Best I can do is give them another ping.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants