Skip to content

CustomChunkCallback ​

Type Alias @vite-pwa/workbox-build/build

Defines a custom code chunk group. Receives the module ID (file path) and returns the desired chunk name or undefined if the module should stay in the default bundle.

ts
type CustomChunkCallback = B

Released under the MIT License.