single-spa / single-spa-examples

Examples of single-spa applications.
https://single-spa.surge.sh
MIT License
359 stars 128 forks source link

Question: Are all applications required at build time? #50

Closed egucciar closed 6 years ago

egucciar commented 6 years ago

Ideally, Single-spa app loader would not need to rely on static build time to get new app. I would like to release a build for application A, while not having to do any build for application B. Does single spa allow for this, or would we need to re-build the entire platform whenever an app is updated?

joeldenning commented 6 years ago

Great question! The single-spa-examples repo is set up to just have one build (and one webpack config), but having a separate build for each application is totally possible. Check out the newly created separating applications docs, which go over your options for this. Specifically the module loading section is hopefully helpful.

I'm closing this issue for now, but feel free to reopen with more questions or discussion.