-
Notifications
You must be signed in to change notification settings - Fork 28
Cannot read property 'generateExportInfo' of undefined #5
Comments
It seems that other plugin change the module that my plugin can not find some of them. I am going to debug with |
Yes. If I remove |
Hi, @LeoEatle . I have published a pre-release version for this case. I want you to try it and I suppose it doesn't crash now. Please upgrade to |
@LeoEatle Multi-entry can't make it crash. It crashed because |
OK, I tried |
@LeoEatle Check if your babel/ts transpiled your code into UMD/CommonJS(ES6 module is required for optimization). And please use library that uses ES6 module(lodash-es instead of lodash) |
Hey, I tried your plugin in a simple demo and it works well. Now I want to apply it to my team project which is much bigger. Then it failed and throw this error.
Here is the environment:
Node v8.11.3
webpack v4.17.1
Here are part of used plugins:
I can't figure out if it is my mistake or a bug of this plugin.
The text was updated successfully, but these errors were encountered: