Open Abdillah opened 2 years ago
Without the IIFE you pollute the global namespace. You can also end up with conflicts with other libraries.
Thank you for the response.
If the IIFE is set and it interfere with the chunks feature, then is it considered as bug?
Yes that would be would be a bug. The harder question is determining exactly why it is occurring. It most likely means that the dependency graph is wrong.
Remove IIFE wrapper on standard build since it prevent multiple Webpack entries and/or chunks for working correctly.
This is also one way to ask for confirmation on what is the purpose of IIFE in standard build? This comment is another way.