the line 205 in ReadFileChunkLoadingRuntimeModule.js should be changed to: `rpcLoad( promiseBaseURI ? await promiseBaseURI : baseURI }, ${
Activity
noreiller commentedon Jul 26, 2022
Hello @marciotc, the promise is resolved at runtime and not at build time so it must be inlined with the template string.
But you are also right, I forgot to replace the HMR part with the new option like in the loading part. 🤦
If you open a PR, I suppose @telenko would accept the fix.
marciotc commentedon Aug 2, 2022
Yes. That's why the error occurs. It's missing escapes.
This is a code generator, but it's looking for definitions in the building scope, not runtime.
noreiller commentedon Aug 11, 2022
@marciotc @telenko I fixed this in my PR #16
woss commentedon Dec 8, 2023
what is the point and purpose of
promiseBaseURIvariable?