@openworkers/adapter-sveltekit 0.5.3 → 0.5.5
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 +12 -0
- package/dist/index.js +101178 -59
- package/dist/{function-worker.js → runtime/function-worker.js} +24 -5
- package/dist/{worker.js → runtime/worker.js} +9 -6
- package/dist/{lib → shims}/async-hooks.js +1 -1
- package/dist/{lib → shims}/node-fs.js +1 -1
- package/dist/{lib → shims}/node-path.js +1 -1
- package/dist/{lib → shims}/node-url.js +1 -1
- package/package.json +1 -1
- /package/dist/{lib → runtime}/cookies.js +0 -0
- /package/dist/{lib → runtime}/routing.js +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -20,6 +20,18 @@ export interface AdapterOptions {
|
|
|
20
20
|
* @default false
|
|
21
21
|
*/
|
|
22
22
|
nodeCompat?: boolean;
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Debug options for generated worker files.
|
|
26
|
+
*/
|
|
27
|
+
debug?: {
|
|
28
|
+
/** Emit source maps alongside worker files */
|
|
29
|
+
sourcemap?: boolean;
|
|
30
|
+
/** Format output with Prettier for readability */
|
|
31
|
+
prettier?: boolean;
|
|
32
|
+
/** Include error details and stack traces in 500 responses */
|
|
33
|
+
errors?: boolean;
|
|
34
|
+
};
|
|
23
35
|
}
|
|
24
36
|
|
|
25
37
|
export default function plugin(options?: AdapterOptions): Adapter;
|