For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/template-webpack-plugin.lynxtemplatepluginoptions.customsectionnaming.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/template-webpack-plugin > LynxTemplatePluginOptions > customSectionNaming

LynxTemplatePluginOptions.customSectionNaming property

Assemble every chunk into a custom section, named by this strategy.

Signature:

customSectionNaming?: ((compilation: Compilation) => CustomSectionNaming) | undefined;

Remarks

A bundle assembled this way carries no lepusCode, and only the chunks left unnamed stay in the manifest. A FetchBundle lazy bundle is assembled this way by default, under the three section names its runtime resolves.