[BUG] Build failure after installing React Markdown package | (vfile package import issues)
What happened?
I'm using Plasmo with React JS, Typescript, and src dir. I added the react markdown package and then the build started to fail.
After digging for some time, I found one package named vfile in the node modules in which some import paths are configured in the package's package.json file.
These imports are not resolved properly in the build resulting in errors.
Version
Latest
What OS are you seeing the problem on?
Linux
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
- [ ] I would like to fix this BUG via a PR
Code of Conduct
- [X] I agree to follow this project's Code of Conduct
- [X] I checked the current issues for duplicate problems.
a temporary resolution method
I am getting this issue too. I saw the temp solution is to upgrade vite, but it must be upgraded by Plasmo author himself
I also met this issue when using Plasmo 0.89.3.
I am getting this issue too. I saw the temp solution is to upgrade vite, but it must be upgraded by Plasmo author himself
you missed mine https://github.com/remarkjs/react-markdown/issues/864#issuecomment-2392006071