DEV Community

Discussion on: Bundling Angular Modules

chan_austria777 profile image
chan 🤖 • Edited on

sure, basically we need to compile certain modules to their own bundle file. The only way Angular creates a separate bundle is when they're lazy-loaded using routes, but is there a way to create a separate bundle for modules that are non-routed.

We need to bundle certain modules since we want to embed those certain modules inside a iframe.