RunicDevSessionProxyOptions interface

Module @runic-artifex/vite-plugin-runic in @runic-artifex/vite-plugin-runic 0.23.0

interface RunicDevSessionProxyOptions

No documentation.

Properties

maxTimelineEntries

readonly maxTimelineEntries?: number;

How many timeline entries /__runic/state keeps: 200 by default, rounded down and limited to 1 to 500.

printFailures

readonly printFailures?: boolean;

false stops printing the development client's failures (an error entry with its exception type, message and stack) to the development server's terminal. Defaults to true.

sourceMap

readonly sourceMap?: string | false;

The development source map for Runic Inspect, as runic({ sourceMap }) takes it: a path relative to the server's working directory, or false to answer neither /__runic/sources nor /__runic/open.

inspect

readonly inspect?: boolean;

false turns off /__runic/handlers, Runic Inspect's handler analysis. Defaults to true.

allow

readonly allow?: readonly string[];

Hosts and networks besides this machine whose pages may read /__runic/state, /__runic/sources and /__runic/handlers and post to /__runic/diagnostics, as runic({ allow }) takes them; RUNIC_DEV_ALLOW adds to them. /__runic/open stays loopback-only.