Open
Description
Expected Behavior
The package at version 5.0.3 should compile without errors.
Actual Behavior
Failed to compile.
./node_modules/html-react-parser/esm/index.mjs
Can't reexport the named export 'Comment' from non EcmaScript module (only default export is available)
Steps to Reproduce
Using React 17.0.2, run npm i html-react-parser@latest, run npm start.
Upgrading to the latest v4 version displays no issues.
Environment
- Version: 5.0.3
- Platform: React 17.0.2
- Browser: irrelevant
- OS: Windows 11