Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: webpack split chunks incompatibility using IIFE #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Abdillah
Copy link

@Abdillah Abdillah commented Nov 15, 2021

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.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Nov 15, 2021

CLA Signed

The committers are authorized under a signed CLA.

  • ✅ Hernawan Faïz Abdillah (00327b0)

@ChadKillingsworth
Copy link
Member

Without the IIFE you pollute the global namespace. You can also end up with conflicts with other libraries.

@Abdillah
Copy link
Author

Thank you for the response.

If the IIFE is set and it interfere with the chunks feature, then is it considered as bug?

@ChadKillingsworth
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants