@solidjs/vite-plugin 3.0.0-next.38 → 3.0.0-next.39

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.
@@ -5,7 +5,7 @@ import { type StartOptions } from './ssr/index.js';
5
5
  export { devStylePatch } from './dev-manifest.js';
6
6
  export { serverFunctions };
7
7
  export type { ServerFunctionsOptions };
8
- export type { ServerFunctionsFilter } from './server-functions/index.js';
8
+ export type { PersistedServerFunctionManifest, ServerFunctionsFilter, } from './server-functions/index.js';
9
9
  export type { StartOptions };
10
10
  import type { FilterPattern, Plugin } from 'vite';
11
11
  /** Possible options for the extensions property */
@@ -135,6 +135,17 @@ export interface ServerFunctionsOptions {
135
135
  */
136
136
  components?: boolean | 'external';
137
137
  }
138
+ /** The persisted manifest's on-disk shape (the array form is the pre-`functions` legacy). */
139
+ export interface PersistedServerFunctionManifest {
140
+ /** Modules containing server functions, root-relative. */
141
+ modules: string[];
142
+ /** Every server function the client build emitted a reference to. */
143
+ functions: Array<{
144
+ id: string;
145
+ name: string;
146
+ module: string;
147
+ }>;
148
+ }
138
149
  /**
139
150
  * The second parameter is internal wiring for the main plugin's
140
151
  * `serverFunctions` option: the built-in dev middleware is only installed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidjs/vite-plugin",
3
- "version": "3.0.0-next.38",
3
+ "version": "3.0.0-next.39",
4
4
  "description": "solid-js integration plugin for Vite",
5
5
  "type": "module",
6
6
  "engines": {