Closed jacky158 closed 2 years ago
I have the same error when I try to build my React app with CRA 3.4 : it seems that Webpack 4 does not understand the nullish coalescing :
hasDateFormat: (obj) => ["date", "date-time"].includes(obj?.value?.format)
Please let's work together to solve this issue. I have more time at the moment.
I'm fixing the nullish coalescing
issue now. Someone from the community added that part.
@screw123 Should be fixed with latest push to master. Try it out. If it works for you, I will do a new release with this patch
I published 1.11.7
which should hopefully fix it
Yes, the issue got fixed with 1.11.7
. Thanks.
Awesome! Very happy to hear that :) Please try out the new array
type implementation fix.
Also feel free to make PRs to improve the library or come with suggestions for improvements or missing features.
Try bundlephobia with schema to yup
https://bundlephobia.com/package/schema-to-yup