I'd like to have a way to namespace multiple library bundles, something like this:
entry: {
core: "./src/",
chart: "./src/chart"
},
output: {
path: 'build',
filename: "foo-[name].js",
library: "Foo.[name]",
libraryTarget: "var"
},
If libraryTarget: "var" and library is namespaced the following object will be created:
Foo: {
core: {...}
chart: {...}
}
I'd like to have a way to namespace multiple library bundles, something like this:
If
libraryTarget: "var"andlibraryis namespaced the following object will be created: