tbranyen/diffhtml

Can't run other packages with core using Deno

tbranyen opened this issue · 2 comments

When using Deno with core and some other package, the subsequent package is unable to find core. Currently core registers itself under globalThis[Symbol.for('diffHTML')] and then related packages hook into core by reading this value. This means core must always be loaded first. This works great in Node and the browser, but fails to work in Deno.

image

Looks like this should "just work":

image

Nevermind, tested again and it works as expected. Not sure how I triggered the error before:

image

image