Generates warnings with webpack
Closed this issue · 1 comments
jescalan commented
So I do realize that this is webpack's fault, but at the same time it's a very common option these days and I feel like it would be a nice benefit if the wrapper worked seamlessly when integrated into a webpack pipeline.
When you try to load a plugin with a umd wrapper into webpack it generates the warning: require function is used in a way in which dependencies cannot be statically extracted
. There is a plugin that briefly explains why and fixes this.
phated commented
I recommend using the plugin. This is a proper UMD and webpack is at fault in this incompatibility.