MCPcopy
hub / github.com/web-infra-dev/rsbuild / SvelteLoaderOptions

Interface SvelteLoaderOptions

packages/plugin-svelte/src/index.ts:11–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9export type AutoPreprocessOptions = NonNullable<Parameters<typeof sveltePreprocess>[0]>;
10
11export interface SvelteLoaderOptions {
12 compilerOptions?: Omit<CompileOptions, 'filename' | 'format' | 'generate'>;
13 /**
14 * Extra HMR options, the defaults are completely fine\
15 * You can safely omit hotOptions altogether
16 */
17 hotOptions?: {
18 /** Preserve local component state */
19 preserveLocalState?: boolean;
20 [key: string]: unknown;
21 };
22 [key: string]: unknown;
23}
24
25export type PluginSvelteOptions = {
26 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…