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 #12255: compileBooleanMatcher fails when prefix and suffix overlap #12256

Merged
merged 2 commits into from Dec 23, 2020

Conversation

izaera
Copy link
Contributor

@izaera izaera commented Dec 22, 2020

See #12255 for more info.

When looking for common suffixes, strip the common prefix (if any) from
the items, so that the method doesn't fail when they overlap.
@webpack-bot
Copy link
Contributor

For maintainers only:

  • This needs to be documented (issue in webpack/webpack.js.org will be filed when merged)
  • This needs to be backported to webpack 4 (issue will be created when merged)

@izaera
Copy link
Contributor Author

izaera commented Dec 22, 2020

Note: though it says it's pending, I have already signed the CLA.

@alexander-akait
Copy link
Member

Just bug on bot side, don't worry

lib/util/compileBooleanMatcher.js Outdated Show resolved Hide resolved
@sokra
Copy link
Member

sokra commented Dec 23, 2020

Thanks

@izaera
Copy link
Contributor Author

izaera commented Dec 28, 2020

@sokra 👍

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

5 participants