Webpacks Production mode in Widget

Hi everyone, We are using Webpack to build our widget and set Mendix's option to bundle of all widgets. If we set the mode in Webpack to be "development", everything works file. However, If we set it to be "production" (so all code is minifized), we have error "Multiple define". Is there any one have experience in using Webpack in similar case? and do you know the solution for the issue?   Best regards,   Does it relevant to this : https://forum.mendix.com/link/questions/21452  
0 answers