There’s a couple of entry points within my application which either a) don’t rely on any other modules or b) only rely on external modules.
I’d ideally like to remove the ‘webpack bootstrap’ for these entry points, since AFAIK it doesn’t add any value, but does add marginal runtime overhead.
I made the following change to
MainTemplate which seems to work. It omits the module boilerplate when there’s only a single module, but is quite hacky (mostly around the coupling to
Are there any better ways of disabling the ‘module loading’ boilerplate?