Skip to content

sanitizeFileName

  • Type: optional sanitizeFileName: boolean | (name) => string

Whether to enable chunk name sanitization (removal of non-URL-safe characters like \0, ? and *).

Set false to disable the sanitization. You can also provide a custom sanitization function.

Default

ts
true

Released under the MIT License.