Skip to content

Enhance documentation for output.chunkLoadingGlobal#7987

Open
joeldasari wants to merge 7 commits intowebpack:mainfrom
joeldasari:joeldasari-patch-1
Open

Enhance documentation for output.chunkLoadingGlobal#7987
joeldasari wants to merge 7 commits intowebpack:mainfrom
joeldasari:joeldasari-patch-1

Conversation

@joeldasari
Copy link

Fixes #6336

Expands the documentation for output.chunkLoadingGlobal which previously
had only a one-line description. Many users were confused about its purpose,
especially those migrating from webpack 4 where it was called jsonpFunction.

Clarify the usage and importance of output.chunkLoadingGlobal in webpack configurations.
@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-js-org Ready Ready Preview, Comment Mar 12, 2026 7:43pm

Request Review

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 12, 2026

CLA Missing ID CLA Not Signed

The global variable used by webpack for loading chunks asynchronously (e.g. via code splitting and dynamic `import()`).

**webpack.config.js**
In webpack 4, this was called `output.jsonpFunction`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to write about webpack@4

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexander-akait I've addressed your feedback and removed the webpack 4 reference. Could you review the latest commit and let me know if the changes look good? Also having trouble with EasyCLA, I signed it, but it's still showing as missing. Any help would be appreciated!

- Removed webpack 4 reference as requested by @alexander-akait
- Replaced cliché phrases with clearer wording
- Fixed lint formatting issues
@alexander-akait
Copy link
Member

Please accept CLA and fix lint

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.

Explain what is output.chunkLoadingGlobal

2 participants