I'm mostly confused as to what the runtime property is actually doing for a webpack entry point. Referenced here:
And even more confused when the documentation makes this statement:
What exactly is the runtime chunk for an entry point and how does it relate to that limitation.
Ty!
By default, each entry point will have an embedded runtime. The runtime can be think of as an mechanism to record the module import/export record, so you won't have duplications of module initialization. By specifying runtime
you're telling webpack to create-or-reuse a runtime. On the other hand, with dependOn
you can reuse a runtime by specifying an existing entry name. Since these two ideas overlap, so you probably won't want to do it at the same time.