promiseBaseURI is not defined
the line 205 in ReadFileChunkLoadingRuntimeModule.js should be changed to: `rpcLoad( promiseBaseURI ? await promiseBaseURI : baseURI }, ${
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. :facepalm:
If you open a PR, I suppose @telenko would accept the fix.
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.
@marciotc @telenko I fixed this in my PR #16
what is the point and purpose of promiseBaseURI variable?