-
Notifications
You must be signed in to change notification settings - Fork 4k
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
3.4.2 introduced breaking change with PR #12715 #13383
Comments
So it looks the original line is trying to solve the issue with paths that contains parentheses (or bracklets). However in normal glob pattern, the parentheses is reserved for the OR operation, for example:
I think in case user want to support paths with parentheses, they can escape manually by doing like:
|
@nodegin Hey, I've merged a PR that reverts our changes to glob handling. Can you test our insiders build on your project and let me know if that fixes things? If so I'll push out another patch ASAP. You can install our insiders build by doing the following:
|
@thecrypticace Thank you for quick response! Here's my package-lock.json FYI: |
Also, as an aside, I'm like 95% sure you can write your above glob as two separate patterns:
Which doesn't use parentheses at all. The leading |
Excellent! I'll get a new patch out soon! Thanks for testing! |
@thecrypticace Thanks for the suggestion on using negative approach, I will give it a try. However if I remember correctly the pattern is come from boilerplate, also I'm using NX as monorepo so they have a function also using this way: |
Ah okay! |
v3.4.3 has been released! |
What version of Tailwind CSS are you using?
3.4.2
What build tool (or framework if it abstracts the build tool) are you using?
PostCSS 8.4.35 Vite 5.1.5
What version of Node.js are you using?
v21.6.2
What browser are you using?
Chrome
What operating system are you using?
macOS
Reproduction URL
Sorry I don't have reproduction as the repo is my company private repo.
Describe your issue
f2a7c2c#diff-e52d7cbb53c2deb88bfe15cfc210a387853cf9f243172b6e2844bb88bc9743a3R115
In this change, a regex replace was added to manipulate the file path.
After some research, I found this regex will try to add backslash to parentheses.
However this line breaks my entire project, I am getting this error:
By commenting this line, I don't get any warning anymore and my styles can be processed now.
The text was updated successfully, but these errors were encountered: