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
I also noticed some packaging issues with latest released version 1.11.0. In that version you have a CJS main entry point importing a Svelte component. It is recommended to only distribute Svelte packages as ESM
Hi, I'm a maintainer on Svelte and saw some bug reports that bytemd doesn't work with SvelteKit, so I wanted to offer some advice
In
master
, these two lines point to a.ts
file for the entry point. It is recommended to preprocess your library and distribute.js
files instead.https://github.com/bytedance/bytemd/blob/e2fbd0689303b2baa5917a4b1c3bd87ae1108168/packages/bytemd/package.json#L18
https://github.com/bytedance/bytemd/blob/e2fbd0689303b2baa5917a4b1c3bd87ae1108168/packages/bytemd/package.json#L27
I also noticed some packaging issues with latest released version 1.11.0. In that version you have a CJS
main
entry point importing a Svelte component. It is recommended to only distribute Svelte packages as ESMYou can use the
svelte-kit package
command to generate packages in the recommended format: https://kit.svelte.dev/docs/packagingThe text was updated successfully, but these errors were encountered: