DEV Community

Discussion on: Ember Micro-Frontends with single-spa

Collapse
 
jelhan profile image
Jeldrik Hanschke

How is the bundle size? I guess bundle size is one of the main trade-offs of this approach compared to Ember Enignes or monolith frontend.

Collapse
 
rajasegar profile image
Rajasegar Chandran

These are the observations for bundle sizes:
Navbar => vendor = 149 KB, app = 3 KB
People => vendor = 149 KB, app = 4.6 KB
Planets => vendor = 149 KB, app = 4.9 KB
I haven't compared this with Engines though, The only drawback I see is having the duplicate code in vendor bundles, but this is definitely better than the Monolith because all the code is lazy loaded only during the mounting process of a micro-frontend