Getting error when building.
thanveeralisayed opened this issue · comments
thanveeralisayed commented
Sudhanshu Yadav commented
It could be related to some custom webpack configuration on your project. can you check.
Pavo Liashchynskyi commented
@s-yadav I don't think it's caused by webpack config. I use react-number-format in many apps in monorepo. I have updated react-number-format to the last version in one of them a few days ago and everything was building well, but with another app have the same problem: PatternFormat is not exported from 'react-number-format'.
@thanveeralisayed any progress?
thanveeralisayed commented
The issue was fixed by using an older version of the library. I think final 4.x.x version. The issue happened because my project uses an older typescript version.