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

fix(pluginutils): add current working dirctory when pattern starts with one * #1547

Merged
merged 1 commit into from Aug 13, 2023

Conversation

TrickyPi
Copy link
Member

@TrickyPi TrickyPi commented Jul 28, 2023

Rollup Plugin Name: pluginutils

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

If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.

List any relevant issue numbers:
relevant: #1538

Description

Currently, if we use a format like *.js in the include option of @rollup/plugins, the plugin cannot filter files correctly, I created a minimal reprodution https://stackblitz.com/edit/rollup-repro-dnz5kc?file=rollup.config.js. This PR addresses this problem with the solution described in issue #1538.

Copy link
Member

@lukastaegert lukastaegert left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks for your effort!

@shellscape
Copy link
Collaborator

@lukastaegert thoughts on this being a breaking change? result sets will now include more than was there before. could result in unexpected behavior.

@lukastaegert
Copy link
Member

I would tend to say that the previous behavior was a bug and very unlikely to be used by anyone, and thus it should not be a new major version.

@shellscape
Copy link
Collaborator

OK cool. we'll put it through as a patch

@shellscape shellscape merged commit 89ceb2a into rollup:master Aug 13, 2023
14 checks passed
@TrickyPi TrickyPi deleted the fix-1538 branch August 14, 2023 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants