Open
Description
Expected Behavior
We have recently upgraded our build tool Parcel to v2.13.3, and since then we started having an error about f is not a constructor
.
This is how we use the parser:
- Import the parser through
import HTMLReactParser from "html-react-parser";
- Pass a string to the parser
It's expected no errors should occur.
We are using 3.0.16, but the error still occurs after we upgrade to 5.2.2. However, the error message is a bit more readable after the upgrade - Text is not a constructor.
Actual Behavior
Getting the error as described above.
Steps to Reproduce
Not sure if the issue is related to Parcel 2.13.x, but this is the only thing we did to trigger the issue.
Environment
- Version: both 3.0.16 and 5.2.2
- Platform:
- Browser: Chrome 131.0.6778.204
- OS: Ubuntu 22