Closed tommoor closed 4 years ago
Hey @tommoor , I double checked, and I don't think that lib0 is imported using a relative path (anymore?).
I certainly do something like that from time to time when I develop new features, and I might have accidentally committed that change. But the current master
branch does not use relative paths to lib0: https://github.com/yjs/y-prosemirror/blob/master/test/index.js
Maybe you are on an old branch?
Branch is uptodate, I cloned yesterday. I'd recommend you give it a quick try in a fresh clone location. I agree that I can't find a reference to the relative path in the codebase 🤔
So sorry about that -.-
So I wrote this bundler plugin that imports from relative positions. I haven't used it in a while, but it should only work when a environment flag is set. Seems I hastily ported the plugin and forgot to set the environment variable.
It is fixed now!
Describe the bug Repo has implicit dependencies on lib0/y-protocols, it's not clear exactly what the requirements are to work on the repo independently.
To Reproduce Steps to reproduce the behavior:
npm install
npm run dist
ornpm run debug
Expected behavior
The repo should be useable and allow for development without additional repos implicitly required. Or, the development instructions should make it clear what the setup should be to allow for local development.
Screenshots
Additional context
Working on a fork to add additional functionality