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 think this is because ProsemirrorMapping is a type generated in the build process. Since vite (esbuild) is very strict and uses the source files, it can't find this export. Here is a comment from evan you about that.
Do you have any idea how to fix that on your side?
To Reproduce
import y-prosemirror in a vite project
start dev server
See error
Expected behavior
It should not throw an error
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the next generation esm bundler vite, I'm getting this error:
I think this is because
ProsemirrorMapping
is a type generated in the build process. Sincevite
(esbuild) is very strict and uses the source files, it can't find this export. Here is a comment from evan you about that.Do you have any idea how to fix that on your side?
To Reproduce
y-prosemirror
in a vite projectExpected behavior
It should not throw an error
The text was updated successfully, but these errors were encountered: