> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Interface: BundleFilenameContext

The context passed to the [Filename.bundle](/next/api/packages/rspeedy/interfaces/Filename.md#bundle) function.

## Properties

### entryName?

> `optional` **entryName?**: `string`

The name of the entry.

It is `undefined` for lazy bundles, since a lazy bundle name is resolved
per async chunk (use the `[name]` placeholder in the returned string
instead).

***

### lazyBundle

> **lazyBundle**: `boolean`

Whether the filename is being resolved for a lazy bundle (async chunk)
instead of the main bundle of an entry.

This allows you to control the main bundle and the lazy bundles with a
single function, without needing a dedicated `lazyBundle` field.

***

### platform

> **platform**: `string`

The environment (platform) name, e.g. `'lynx'` or `'web'`.
