Answer the question
In order to leave comments, you need to log in
How to build multiple React apps with webpack without messing with relative paths?
Given:
1. Wrapper application. Contains N-divs with unique id.
2. N-applications that are loaded from a link (like an internal CDN) and rendered into those divs.
Question:
How to assemble these N-applications with webpack so that the main wrapper application can easily pick up everything, and all dynamic imports of those applications are sent to the necessary files (these files, like pictures, are physically located on CDN servers, but are launched from the application- wrappers, respectively, all relative paths will lead to the server that holds the wrapper application, and not to those CDN instances).
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question