@runic-artifex/vite-plugin-runic

Version 0.7.0-preview.5. Read from the published package.

@runic-artifex/vite-plugin-runic

runic function
function runic(options?: RunicViteOptions): RunicVitePlugin;

No documentation.

RunicDevelopmentState interface
RunicDiagnosticDetail type alias
type RunicDiagnosticDetail = Readonly<Record<string, RunicDiagnosticDetailValue>>;

No documentation.

RunicDiagnosticDetailValue type alias
type RunicDiagnosticDetailValue = string | number | boolean | null;

No documentation.

RunicDiagnosticEntry interface
RunicDiagnosticFailure interface

The local failure behind an error entry: an exception type, message and stack. Views sends it only when .NET runs in development or for a browser error. It keeps file paths, which a stack needs to be actionable, but is bounded and has credentials redacted.

RunicDiagnosticReporter interface
RunicDiagnosticSource type alias
type RunicDiagnosticSource = "views" | "assets" | "translations";

No documentation.

RunicRuntimeState interface
RunicTraceKind type alias
type RunicTraceKind = "command" | "receipt" | "event" | "operation" | "connection" | "error";

No documentation.

RunicViteOptions interface
RunicVitePlugin interface

@runic-artifex/vite-plugin-runic/client

createRunicDiagnosticReporter function
function createRunicDiagnosticReporter(source: RunicDiagnosticSource): RunicDiagnosticReporter;

No documentation.

disposeRunicHmrResource function
function disposeRunicHmrResource(key: string, dispose?: (resource: unknown) => void | Promise<void>): Promise<void>;

No documentation.

preserveRunicHmrResource function
function preserveRunicHmrResource<T>(key: string, create: () => T): T;

No documentation.

reportRunicDiagnostic function
function reportRunicDiagnostic(entry: RunicDiagnosticEntry): void;

Reports a display-safe summary from an authoritative Runic subsystem. This intentionally accepts no subsystem state or artifact model.

reportRunicState function
function reportRunicState(state: RunicRuntimeState): void;

No documentation.

RunicDiagnosticDetail type alias
type RunicDiagnosticDetail = Readonly<Record<string, RunicDiagnosticDetailValue>>;

No documentation.

RunicDiagnosticDetailValue type alias
type RunicDiagnosticDetailValue = string | number | boolean | null;

No documentation.

RunicDiagnosticEntry interface
RunicDiagnosticFailure interface

The local failure behind an error entry: an exception type, message and stack. Views sends it only when .NET runs in development or for a browser error. It keeps file paths, which a stack needs to be actionable, but is bounded and has credentials redacted.

RunicDiagnosticReporter interface
RunicDiagnosticSource type alias
type RunicDiagnosticSource = "views" | "assets" | "translations";

No documentation.

RunicRuntimeState interface
RunicTraceKind type alias
type RunicTraceKind = "command" | "receipt" | "event" | "operation" | "connection" | "error";

No documentation.