The theme generator function only take one object as a parameter
{
"directory": {
"path": "static/",
"mapFilename": "(schema) => slug(schema.$id)"
}
}
Output directory configuration
Type: object
Output directory path
Type: string
Example: static/
Filename Mapper
Function that takes a schema and yield a filename without the extension.
Example: (schema) => slug(schema.$id)