plasmo
plasmo copied to clipboard
[BUG] Cannot find module xxx in background script when running the pnpm built package
What happened?
Plasmo version: 0.89.3 node version: 20.3.1
i import 3rd party library in the background script. after run pnpm build, load the package.
Will have error "Cannot find module xxx"
Version
Latest
What OS are you seeing the problem on?
No response
What browsers are you seeing the problem on?
No response
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.