silgi 0.9.8 → 0.9.9
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/_chunks/index.mjs +1 -1
- package/dist/kit/index.d.mts +1 -1
- package/dist/kit/index.d.ts +1 -1
- package/dist/kit/index.mjs +1 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/kit/index.d.mts
CHANGED
|
@@ -76,7 +76,7 @@ declare function resolveSilgiModule(base: string, paths: string[]): Promise<stri
|
|
|
76
76
|
*
|
|
77
77
|
* This mirrors the runtime behavior of Nitro.
|
|
78
78
|
*/
|
|
79
|
-
declare function useSilgiRuntimeConfig(): Record<string, any
|
|
79
|
+
declare function useSilgiRuntimeConfig(): Record<string, any> | undefined;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Renders given template during build into the virtual file system (and optionally to disk in the project `buildDir`)
|
package/dist/kit/index.d.ts
CHANGED
|
@@ -76,7 +76,7 @@ declare function resolveSilgiModule(base: string, paths: string[]): Promise<stri
|
|
|
76
76
|
*
|
|
77
77
|
* This mirrors the runtime behavior of Nitro.
|
|
78
78
|
*/
|
|
79
|
-
declare function useSilgiRuntimeConfig(): Record<string, any
|
|
79
|
+
declare function useSilgiRuntimeConfig(): Record<string, any> | undefined;
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* Renders given template during build into the virtual file system (and optionally to disk in the project `buildDir`)
|
package/dist/kit/index.mjs
CHANGED
|
@@ -246,7 +246,7 @@ async function resolveSilgiModule(base, paths) {
|
|
|
246
246
|
function useSilgiRuntimeConfig() {
|
|
247
247
|
const silgi = tryUseSilgi();
|
|
248
248
|
if (!silgi) {
|
|
249
|
-
return
|
|
249
|
+
return void 0;
|
|
250
250
|
}
|
|
251
251
|
return applyEnv(klona(silgi.options.runtimeConfig), {
|
|
252
252
|
prefix: "NITRO_",
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED