Let's say I have a "main" app and a "widget" app in the same codebase, with some dependencies shared between them. My webpack config might look something like
module.exports = {
entry: {
app: './app/appEntry.js',
widget: './app/widgetEntry.js',
},
output: {
path: 'public/',