Skip to content

TypeScript API / @laikacms/vite-plugin / defaultSerializers

Function: defaultSerializers() ​

ts
function defaultSerializers(): StorageSerializerRegistry;

The default serializer registry for the filesystem storage repository. The registry is keyed by file extension, so every spelling a content author is likely to reach for gets its own entry: .json (also used by Catalog for its collection settings and per-object metadata), .yaml/.yml, .md/.mdx/.markdown (frontmatter + body), and raw passthrough.

Returns ​

StorageSerializerRegistry

Released under the MIT License.