Interface: WirestateVitePluginOptions
Defined in: src/wirestate-dev/vite.ts:17
Options for wirestate.
Properties
exclude?
ts
readonly optional exclude?: RegExp;Defined in: src/wirestate-dev/vite.ts:32
Files excluded from the transform even when WirestateVitePluginOptions.include matches.
include?
ts
readonly optional include?: RegExp;Defined in: src/wirestate-dev/vite.ts:27
Files eligible for the hot-reload transform.
Remarks
Defaults to plain script modules (.ts, .mts, .js, .mjs). Component modules (.tsx, .jsx) are excluded by default: they belong to React Fast Refresh, and services co-located with components would create two competing HMR boundaries in one module.