hi 🖐️, i had a project with webpack (there everything worked normally), then i started to migrate to use vite, and i faced one problem with this library, when i use yarn dev (vite serve) i can normally go to my page that renders this component import { Editor } from 'react-draft-wysiwyg';
i can also run yarn build with no problems (vite build --emptyOutDir)
but the problem is: when i run yarn start (serve -s dist) and i go to the page that renders this component, my page is blank and i receive these errors in the console
hi 🖐️, i had a project with webpack (there everything worked normally), then i started to migrate to use vite, and i faced one problem with this library, when i use yarn dev (vite serve) i can normally go to my page that renders this component
import { Editor } from 'react-draft-wysiwyg';
i can also run yarn build with no problems (vite build --emptyOutDir)
but the problem is: when i run yarn start (serve -s dist) and i go to the page that renders this component, my page is blank and i receive these errors in the console
"react": "^16.13.1", "react-draft-wysiwyg": "^1.14.7", "draft-js": "^0.11.7"