Skip to content

ssg-options.ts#

View Markdown

Source

2 documented symbols. Read the signatures first, then expand each item for parameters, return types, and examples.

2 symbols 2 functions 2 parameters 2 returns

Reference#

fnnormalizeRoutePrefix(value?: string): string | undefinedNormalizes blog / /blog / /blog/ to blog. Empty or unsafe values stay off.

Normalizes blog / /blog / /blog/ to blog. Empty or unsafe values stay off.

Signature

export function normalizeRoutePrefix(value?: string): string | undefined

View source

Parameters

  • value string

    optional

Returns

string | undefined
fnresolveSsgOptions(ssg: SsgOptions | boolean | undefined): ResolvedSsgOptionsResolves SSG options with defaults.

Resolves SSG options with defaults.

Signature

export function resolveSsgOptions(ssg: SsgOptions | boolean | undefined): ResolvedSsgOptions

View source

Parameters

Returns

ResolvedSsgOptions