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.customsectionnaming.background.md.
This is the dev preview website. Check out the document at lynxjs.org

Home > @lynx-js/template-webpack-plugin > CustomSectionNaming > background

CustomSectionNaming.background() method

Signature:

background(manifestKey: string, index: number): string | undefined;

Parameters

Parameter

Type

Description

manifestKey

string

The key the chunk has in the manifest. A lazy bundle keys it by path (/.rspeedy/lazy-bundle/…/background.js), an external bundle by asset name.

index

number

Returns:

string | undefined