---
url: /reference/Interface.ChunkingContext.md
---
# Interface: ChunkingContext

## Methods

### getModuleInfo()

* **Type**: (`moduleId`: `string`) => [`ModuleInfo`](Interface.ModuleInfo.md) | `null`

The returned object and its dependency arrays are reused within the current chunking pass.
Treat graph fields as read-only. `meta` properties and the `moduleSideEffects` field remain mutable.

#### Parameters

##### moduleId

`string`

#### Returns

[`ModuleInfo`](Interface.ModuleInfo.md) | `null`
