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

What is the purpose of __commonjsHelpers__.js? #26

Open
Profesor08 opened this issue Feb 8, 2023 · 1 comment
Open

What is the purpose of __commonjsHelpers__.js? #26

Profesor08 opened this issue Feb 8, 2023 · 1 comment

Comments

@Profesor08
Copy link

This chunk is generated by default for single-vendor strategy`, is required by every entry and no one entry use it code.

To drop it from bundle I use next override and everything is working fine

      customSplitting: {
        __commonjsHelpers__: [/some unreachable check/], // override
        jquery: [/jquery/],
        vendor: [/node_modules/],
        react: [/react/, /react-dom/],
        common: [/src\/ts\/utils/, /src\/ts\/components/],
      },
@BanShan-Alec
Copy link

same question

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

No branches or pull requests

2 participants