vite-plugin-kiru 0.32.0-preview.1 → 0.32.0-preview.2
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/index.d.ts +19 -0
- package/dist/index.js +1077 -938
- package/dist/server.d.ts +24 -0
- package/dist/server.js +245 -138
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -144,36 +144,55 @@ export interface SSROptions {
|
|
|
144
144
|
* @example "src/server.ts"
|
|
145
145
|
*/
|
|
146
146
|
runtimeEntry: string
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* The secret to use for server function RPCs.
|
|
150
|
+
* If not specified, one will be generated automatically.
|
|
151
|
+
*/
|
|
152
|
+
secret?: string
|
|
153
|
+
|
|
147
154
|
/**
|
|
148
155
|
* The base URL of the app
|
|
149
156
|
* @default "/"
|
|
150
157
|
*/
|
|
151
158
|
baseUrl?: string
|
|
159
|
+
|
|
152
160
|
/**
|
|
153
161
|
* The directory of the app
|
|
154
162
|
* @default "src/pages"
|
|
155
163
|
*/
|
|
156
164
|
dir?: string
|
|
165
|
+
|
|
157
166
|
/**
|
|
158
167
|
* The name of the document component
|
|
159
168
|
* @default "document.{tsx,jsx}"
|
|
160
169
|
*/
|
|
161
170
|
document?: string
|
|
171
|
+
|
|
162
172
|
/**
|
|
163
173
|
* The filename of page components to search for
|
|
164
174
|
* @default "index.{tsx,jsx}"
|
|
165
175
|
*/
|
|
166
176
|
page?: string
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The filename of 'remote' files for server function RPCs
|
|
180
|
+
* @default "remote.{ts,js}"
|
|
181
|
+
*/
|
|
182
|
+
remote?: string
|
|
183
|
+
|
|
167
184
|
/**
|
|
168
185
|
* The filename of layout components to search for
|
|
169
186
|
* @default "layout.{tsx,jsx}"
|
|
170
187
|
*/
|
|
171
188
|
layout?: string
|
|
189
|
+
|
|
172
190
|
/**
|
|
173
191
|
* The filename of guard files to search for
|
|
174
192
|
* @default "guard.{ts,js}"
|
|
175
193
|
*/
|
|
176
194
|
guard?: string
|
|
195
|
+
|
|
177
196
|
/**
|
|
178
197
|
* Enable transitions for all routes and loading states
|
|
179
198
|
* @default false
|