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
Are you reporting a bug? Use github issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://github.com/yjs/yjs/issues/
Describe the bug
When trying to import { yCollab } from "y-codemirror.next; in a TypeScript file compiled with Webpack 5, I receive the following error:
Module not found: Error: Can't resolve 'y-codemirror.next' in '{absolute-path-to-directory-containing-file-where-imported}'resolve 'y-codemirror.next' in '{absolute-path-to-directory-containing-file-where-imported}'...Field 'browser' doesn't contain a valid alias configuration
...
To Reproduce
Steps to reproduce the behavior:
Attempt the import statement above in a TypeScript project compiled with Webpack 5.
Checklist
Describe the bug
When trying to
import { yCollab } from "y-codemirror.next;
in a TypeScript file compiled with Webpack 5, I receive the following error:To Reproduce
Steps to reproduce the behavior:
Expected behavior
The import would succeed without incident.
Environment Information
y-codemirror.next@0.0.1
tsconfig.json
options—Additional Information
Thank you for Yjs!!
The text was updated successfully, but these errors were encountered: