Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Configuring library as external in webpack does not work like expected with UMD as libraryTarget #4824
Do you want to request a feature or report a bug?
What is the current behavior?
What is the expected behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
Also related is my stackoverflow question as I actually don't know if this is my fault or if this is a bug. (Maybe it would be at least nice to give more information regarding such use case in the documentation)
This was referenced
May 22, 2017
Same Issue, Here, (more or less);
I have a custom umd library (mylib) made by myself (bundled with webpack, of course); when I try to consume it in my application (bundled also with webpack) as "externals", it simply doesn't work.
The output of application (app.js)
always has WEBPACK_EXTERNAL_MODULE_364 as undefined