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

Support an array of variantGlob in Webpack TogglePointInjection Plugin #5

Open
TomStrepsil opened this issue Dec 26, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@TomStrepsil
Copy link
Contributor

Issue

The variantGlob option works, but is cumbersome when matching wildly different but specific patterns, due to innate nature of glob - the regex groups supported by fast-glob only work at the individual path segment level.

Details

A need arose in the Product Listing Page to toggle a few non-React (but within the components/ parent folder) root path, without much shared directory structure.

By specifying an array of specific paths, this would both be clear and explicit. By being "first in line" it would negate any need for these paths to be excluded from subsequent toggle point configurations.

@TomStrepsil TomStrepsil added enhancement New feature or request good first issue Good for newcomers labels Dec 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant