Interface SsrPluginOptions

Hierarchy

  • SsrPluginOptions

Properties

externalRenderTimeout?: number

How long Puppeteer waits from the start of rendering for the document to finish rendering.

inPageRenderTimeout?: number

How long the page waits to determine that a Nota document has finished rendering, i.e. when there are no MutationObserver events

language?: string

Language for the webpage

port?: number

Port for the static file server

removeUnusedFiles?: boolean

Automatically delete all files in dist/ directory that aren't used by Puppeteer

template?: string

A JS import path of a file that exports a React template used for the entire page body. Defaults to @nota-lang/esbuild-utils/dist/template.

Generated using TypeDoc