-
Notifications
You must be signed in to change notification settings - Fork 38
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
[Bug] Next.js 14.0.4 every operation on TinyColor returns black #000000 #248
Comments
thats really weird |
hey @scttcper seems that the concatenate matcher regex seems to have an issue if you'll use templated strings. i faced the same problem using parcel… |
I'm also gonna try to investigate later where this problem might be coming from, haven't had the time to yesterday |
yeah i'd assume the problem is somewhere in |
See #249 |
tried out 4.0.3 and it looks like its working |
Very good, i've tried it this afternoon as well and seems to be ok. Maybe we should check the possible issue with swc, and field an issue. |
When doing a production build of next.js 14.0.4 (does not happen in 14.0.3 and below) whenever i construct a TinyColor, it is always considered as pure black. During the development build everything seems to work, but in production build it breaks.
I made an example on code sandbox with this issue here
to reproduce, run a build of the server
npm run build
(you will see a console log of the #000000 color too) and then start itThe text was updated successfully, but these errors were encountered: