@sveltejs/kit 2.10.0 → 2.10.1
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/package.json +1 -1
- package/src/core/sync/write_server.js +3 -1
- package/src/version.js +1 -1
package/package.json
CHANGED
|
@@ -67,7 +67,8 @@ export async function get_hooks() {
|
|
|
67
67
|
let handle;
|
|
68
68
|
let handleFetch;
|
|
69
69
|
let handleError;
|
|
70
|
-
|
|
70
|
+
let init;
|
|
71
|
+
${server_hooks ? `({ handle, handleFetch, handleError, init } = await import(${s(server_hooks)}));` : ''}
|
|
71
72
|
|
|
72
73
|
let reroute;
|
|
73
74
|
${universal_hooks ? `({ reroute } = await import(${s(universal_hooks)}));` : ''}
|
|
@@ -77,6 +78,7 @@ export async function get_hooks() {
|
|
|
77
78
|
handleFetch,
|
|
78
79
|
handleError,
|
|
79
80
|
reroute,
|
|
81
|
+
init,
|
|
80
82
|
};
|
|
81
83
|
}
|
|
82
84
|
|
package/src/version.js
CHANGED