-
-
Notifications
You must be signed in to change notification settings - Fork 140
version 5.0.1 cannot work with vite #1132
Copy link
Copy link
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
Should work with vite
Actual Behavior
Steps to Reproduce
- Create a very simple react-ts starter project with
yarn create vite - Install the latest version of
html-react-parserwithyarn add html-react-parser - Import and use it in
App.tsx - run
npx vite build && npx vite preview - There will be an
xxx is not a functionerror
Reproducible Demo
Stackblitz link: https://stackblitz.com/edit/vitejs-vite-grzmrj?file=package.json
Environment
- Version: 5.0.1
- Browser: Chrome
- OS: MacOS
Keywords
Module config
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working