andi23rosca / solid-markdown

Render Markdown as Solid components
MIT License
106 stars 10 forks source link

Modernize build #6

Closed milomg closed 2 years ago

milomg commented 2 years ago

I've been working on getting solid-site working with solid-start, and it required a version of this package that was built with ESM. I tried to get webpack and rollup working, but I gave up after a bunch of errors with commonjs packages interfacing with nodejs polyfills, and switched to esbuild.

Quick note: I removed the modification step because most build systems already do that, and preserved the jsx so that SSR could potentially work in the future