rsms / markdown-wasm

Very fast Markdown parser and HTML generator implemented in WebAssembly, based on md4c
https://rsms.me/markdown-wasm/
MIT License
1.51k stars 62 forks source link

Unable to use with Svelte-kit #20

Closed saiabishek1 closed 1 year ago

saiabishek1 commented 2 years ago

Hi,

First off, thanks a lot for this module!

I'm trying to use this in Svelte-kit. I got it working in development mode locally after spending a few hours trying to understand and modify markdown.es.js. But while building for deployment I get this error -

[vite:worker] UMD and IIFE output formats are not supported for code-splitting builds.

Do you know how I can resolve this?

morriswinkler commented 1 year ago

did you get it to work in the end