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
Sorry if this is the wrong place to post this, but I'm having an issue with including this library in a project being bundled by Webpack for browser usage. The build completes without error, but on opening the app I get this error:
I assume I can fix this with some adjustment to the Webpack config, but I'm having trouble figuring out what exactly I need to change. It seems like vfile is assuming a node environment?
The text was updated successfully, but these errors were encountered:
This was a webpack config issue in another project that is building my app (it's a plugin in a webview). The builder was adding path to Webpack externals, and it took me a bit to track that down. Got the author to fix it & now all is working.
This issue is several years outdated, new major releases of both react-markdown and webpack have come out since, this is no longer a good source of info.
Feel free to open a discussion with your question https://github.com/orgs/remarkjs/discussions, and when opening the discussion please consider the support recommendations https://github.com/remarkjs/.github/blob/main/support.md and document which versions of webpack/react-markdown you are using so others can offer more concrete advise.
remarkjs
locked as resolved and limited conversation to collaborators
Aug 23, 2023
Sorry if this is the wrong place to post this, but I'm having an issue with including this library in a project being bundled by Webpack for browser usage. The build completes without error, but on opening the app I get this error:
I assume I can fix this with some adjustment to the Webpack config, but I'm having trouble figuring out what exactly I need to change. It seems like
vfile
is assuming a node environment?The text was updated successfully, but these errors were encountered: