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

Correct minimatch to picomatch in the docs #525

Merged
merged 1 commit into from Aug 4, 2020
Merged

Correct minimatch to picomatch in the docs #525

merged 1 commit into from Aug 4, 2020

Conversation

AlexVipond
Copy link
Contributor

@AlexVipond AlexVipond commented Aug 3, 2020

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:

Description

The current docs say that createFilter uses minimatch, but it actually uses picomatch.

import pm from 'picomatch';

The differences are pretty subtle, but I think it's important to document them for people with more specific use cases, and for people creating packages that depend on createFilter.

`createFilter` uses picomatch, not minimatch

https://github.com/rollup/plugins/blob/5fa15590e452d568239a6d8e1c7018865c027fe4/packages/pluginutils/src/createFilter.ts#L3

The differences are pretty subtle, but I think it's important to document them for people with more specific use cases, and for people creating packages that depend on `createFilter`.
@shellscape
Copy link
Collaborator

thanks!

@shellscape shellscape merged commit ec804d3 into rollup:master Aug 4, 2020
LarsDenBakker pushed a commit to LarsDenBakker/plugins that referenced this pull request Sep 12, 2020
`createFilter` uses picomatch, not minimatch

https://github.com/rollup/plugins/blob/5fa15590e452d568239a6d8e1c7018865c027fe4/packages/pluginutils/src/createFilter.ts#L3

The differences are pretty subtle, but I think it's important to document them for people with more specific use cases, and for people creating packages that depend on `createFilter`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants