svelte_preprocess_fuz_code.ts view source
PreprocessFuzCodeOptions exclude
File patterns to exclude.
type
Array<string | RegExp>syntax_styler
Custom syntax styler.
type SyntaxStyler
cache
Enable in-memory caching.
type
booleancomponent_imports
Import sources that resolve to the Code component.
Used to verify that <Code> in templates actually refers to fuz_code's Code.svelte.
type
Array<string>on_error
How to handle errors.
type
'log' | 'throw'