I couldn't reopen the other issue, so I created a new one.
I stumbled upon this issue, because I had encountered some strange issues using rollup in watch mode. I temporarily fixed the issue and it seems to be the cause. My fix was rather simple, I simply inlined all the occurences of "createUint8ArrayViewFromArrayBuffer()" to "new Uint8Array()" and dropped the buffer.js import from encoding.js and decoding.js.
Could you please fix this somehow? It's possible that this is a rollup issue, but it seems to be easily solvable.
I couldn't reopen the other issue, so I created a new one.
I stumbled upon this issue, because I had encountered some strange issues using rollup in watch mode. I temporarily fixed the issue and it seems to be the cause. My fix was rather simple, I simply inlined all the occurences of "createUint8ArrayViewFromArrayBuffer()" to "new Uint8Array()" and dropped the buffer.js import from encoding.js and decoding.js.
Could you please fix this somehow? It's possible that this is a rollup issue, but it seems to be easily solvable.
Originally posted by @szilu in https://github.com/dmonad/lib0/issues/19#issuecomment-1752158507