As part of the lazy hydration PR in marko/next, we need the loader to handle loading multiple possible instances of marko runtime. (prob not describing this perfectly).
Why
Possible Implementation & Open Questions
In the working version on my local, I believe you added to loader/get-asset-code.js a Set to handle this in the code gen:
const writtenAssets = this.global.___written || (this.global.___written = new Set());
Additionally we used the following webpack config:
Description
As part of the lazy hydration PR in
marko/next
, we need the loader to handle loading multiple possible instances of marko runtime. (prob not describing this perfectly).Why
Possible Implementation & Open Questions
In the working version on my local, I believe you added to
loader/get-asset-code.js
aSet
to handle this in the code gen:const writtenAssets = this.global.___written || (this.global.___written = new Set());
Additionally we used the following webpack config:
Is this something you're interested in working on?