remarkjs / remark-rehype

plugin that turns markdown into HTML to support rehype
https://remark.js.org
MIT License
258 stars 18 forks source link

rollup build breaks because of mdast-util-to-hast@10.2.0 dependency #19

Closed Fgruntjes closed 3 years ago

Fgruntjes commented 3 years ago

The bug is solved in mdast-util-to-hast@11.1.1 and perfectly described in https://github.com/syntax-tree/mdast-util-to-hast/issues/55

wooorm commented 3 years ago

Well, we did already have the whole discussion over there. Are there new insights for opening a new issue?

SQReder commented 3 years ago

I suggest publishing a patched version of the package for your own and use it as a temporary replacement for mdast-util-to-hast

You can use yarn resolutions section, or resolve.alias config option for Vite.js to do this. I'm sure similar functionality should exist for webpack, but I'm too lazy to search. Also, no straightforward solution found to replace transient dependencies with NPM itself

If security doesn't bother you much, you can use my patched version until the new release of remark-rehype

wooorm commented 3 years ago

fixed!

github-actions[bot] commented 3 years ago

Hi! This was closed. Team: If this was fixed, please add phase/solved. Otherwise, please add one of the no/* labels.