How to build a few React apps using webpack and don't mess up the relative paths?

This:
1. App wrapper. Contains N-DIVS with a unique id.
2. N-applications, which are loaded by reference (as if internal CDN) and are rendered in those divas.

Question:
How to build webparam these N applications that the main application wrapper can pick up, and all dynamic imports of the applications sent in the required files (these files as images, physically lying on the CDN servers, but are run from the app-wrapper, respectively, all relative paths will lead to the server that holds the application-the wrapper and not on the CDN-instances).
March 23rd 20 at 18:56
1 answer
March 23rd 20 at 18:58
file-loader + Nginx

Find more questions by tags WebpackReact