Closed janosh closed 3 years ago
Nope, I'm also using it with vite in @wilsonjs and it works like a charm.
https://github.com/wilsonjs/wilson/blob/main/packages/wilson/src/node/markdown.ts#L108
Thanks for the link to your code. Will try to debug mine over the weekend maybe. Closing this for now as there's nothing actionable atm.
Thanks @codepunkt for #157! I just tried this out with MDSveX and got a pretty unhelpful Vite error message. My first guess is that it's an ESM-CJS compat issue. You mentioned you're also using the remark plugin in an ESM setting. Did you have to jump through any hoops to get it working?