me-12 / single-spa-portal-example

Example project on how to combine multiple SPA's on a single Website
MIT License
407 stars 136 forks source link

webpack is building the child applications as single main.js file #4

Closed abelkbil closed 6 years ago

abelkbil commented 6 years ago

Hi, Thanks for this repo. I was straggling to configure webpack. You saved me. Your sample project's webpack is building the child applications as single main.js file. Is this is the correct way .

If I want to create it as a single application, I need to load it to other single-spa root application

me-12 commented 6 years ago

The point of this repo is to have separate build processes so that each team can deploy their application individually.

If you just want to have a single build process to build all your child apps into one big single SPA, you can use the simple webpack example here: https://github.com/joeldenning/simple-single-spa-webpack-example

me-12 commented 6 years ago

I hope this issue is clarified. Closing for now. If you have any further questions, you can open this issue again.

abelkbil commented 6 years ago

Thanks @me-12