@solidjs/vite-plugin 3.0.0-next.35 → 3.0.0-next.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +88 -25
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +89 -26
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/src/ssr/index.d.ts +6 -0
- package/package.json +1 -1
|
@@ -206,4 +206,10 @@ export declare function startServe(options: StartOptions, internal?: {
|
|
|
206
206
|
ssr?: boolean;
|
|
207
207
|
styleFilter?: DevStyleFilter;
|
|
208
208
|
diagnostics?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Reports the resolved document shell path (absolute, or null when the
|
|
211
|
+
* built-in virtual document is used) back to the main plugin, which
|
|
212
|
+
* declines HMR for that module's client compile (solidjs/solid#3151).
|
|
213
|
+
*/
|
|
214
|
+
onDocumentResolved?: (documentPath: string | null) => void;
|
|
209
215
|
}): Plugin[];
|