You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a remote component in cjs format that is splitted into two files rather than a single file.
The remote component internally uses lazy and Suspense.
When I tried to use the remote component, it will not be able to resolve the file in the splitted chunk.
I have provided a snippet of the compiled output of that remote component.
Hi @joelnet
I currently have a remote component in cjs format that is splitted into two files rather than a single file.
The remote component internally uses
lazy
andSuspense
.When I tried to use the remote component, it will not be able to resolve the file in the splitted chunk.
I have provided a snippet of the compiled output of that remote component.
The problem is the
require("./5a3484eb-chunk.cjs")
trying to resolve to a relative file chunk and https://github.com/Paciolan/remote-component/blob/master/src/createRequires.ts does not have the require.I would like to know if that would be possible to use the remote component with react component that contains splitted chunk? Thanks!
The text was updated successfully, but these errors were encountered: