I\'m having trouble accessing a webpack bundled library from the browser.
Example: I have a class Foo
Foo
// foo.js \"use strict\"; export de
Looks like 'var' is the default for output.libraryTarget therefore you should be able to define your output.library property and you will be able to access the var globally. https://webpack.js.org/configuration/output/#output-librarytarget
output.libraryTarget
output.library