You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading to latest version 5.0.3 throws compiling error: Can't reexport the named export 'Comment' from non EcmaScript module (only default export is available) #1143
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
rohit-khanna, danijeldzakula, longton95, jlizanab, SimbaNetropolix and 9 more