﻿<head><script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-4357510538660394"
     crossorigin="anonymous"></script></head>---
url: /reference/TypeAlias.CodeSplittingNameFunction.md
---
# Type Alias: CodeSplittingNameFunction

* **Type**: (`moduleId`, `ctx`) => `string` | `NullValue`

## Parameters

### moduleId

`string`

### ctx

#### getModuleInfo

(`moduleId`) => [`ModuleInfo`](Interface.ModuleInfo.md) | `null`

The returned object and its dependency arrays are reused wi