We want to use more up-to-date packages in our project but, when we are upgrade the "webpack" version 4 to 5 and upgrade the "babel.js" 6 to 7 versions in our package.json,
an issue occurs with the "uiwjs/react-md-editor" library or (rehype, rehype-prism etc.) dependencies of "uiwjs/react-md-editor" on runtime.
Hi,
We want to use more up-to-date packages in our project but, when we are upgrade the "webpack" version 4 to 5 and upgrade the "babel.js" 6 to 7 versions in our package.json, an issue occurs with the "uiwjs/react-md-editor" library or (rehype, rehype-prism etc.) dependencies of "uiwjs/react-md-editor" on runtime.
Sample: https://github.com/turenc/-uiw-react-md-editor Error: "Uncaught TypeError: visit is not a function" on "node_modules/@mapbox/rehype-prism/index.js"
I would appreciate your help in this matter.