You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found that plasmo depend on parcel, however I can solve this problem by declaring an alias in package.json when using parcel. But this method does not work in the plasmo project. Does anyone know how to solve this kind of problem?
Currently, the only solution I can think of is to independently build the package to solve it, but this is obviously not a good solution.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
Steps to reproduce
pnpm create plasmo react-markdown-demo
cd react-markdown-demo
pnpm install react-markdown
pnpm run dev
What happened?
The file at https://github.com/PlasmoHQ/plasmo/blob/main/core/parcel-resolver/index.mjs contains polyfills for the browser environment, but the polyfill here does not take effect when there is
node:path
.I found that plasmo depend on
parcel
, however I can solve this problem by declaring analias
inpackage.json
when using parcel. But this method does not work in the plasmo project. Does anyone know how to solve this kind of problem?Currently, the only solution I can think of is to independently build the package to solve it, but this is obviously not a good solution.
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
Steps to reproduce
pnpm create plasmo react-markdown-demo cd react-markdown-demo pnpm install react-markdown pnpm run dev
(OPTIONAL) Contribution
Code of Conduct
The text was updated successfully, but these errors were encountered: