-
-
Notifications
You must be signed in to change notification settings - Fork 140
Issue after 5.0.9 update #1228
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
I should be able to use Element
Actual Behavior
When I run my React app using Vite I get:
Uncaught SyntaxError: The requested module '/@fs/Users/.../node_modules/.vite/app/deps/html-react-parser.js?v=719515aa' does not provide an export named 'Element' (at list.tsx:6:31)
in list.tsx I have:
import { DOMNode, domToReact, Element } from "html-react-parser";
Steps to Reproduce
Try to use Element after 5.0.9 update.
Environment
- Version: 5.0.9
- Platform: Vite
- Browser: Chrome
- OS: MaxOs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working