@monkeyplus/flow 6.0.112 → 6.0.114

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.
@@ -127,6 +127,7 @@ export default defineFlowModule({
127
127
  dirImages: options.dirImages
128
128
  }
129
129
  };
130
+ console.log("imagesRuntimeConfig", imagesRuntimeConfig);
130
131
  process.env.FLOW_IMAGES_RUNTIME_CONFIG = JSON.stringify(imagesRuntimeConfig);
131
132
  if (shouldGenerateOutput) {
132
133
  rmSync(generatedManifestPath, { force: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "6.0.112",
3
+ "version": "6.0.114",
4
4
  "description": "@monkeyplus/flow package-first runtime with Vite, Nitro, Vue and a workspace playground.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -17,20 +17,6 @@ function resolveRequest(input) {
17
17
  }
18
18
  async function resolvePrerenderFetchHandler() {
19
19
  prerenderFetchHandlerPromise ||= (async () => {
20
- if (typeof globalThis.useRuntimeConfig !== "function" && typeof globalThis.__nitro__?.runtimeConfig !== "undefined") {
21
- const config = globalThis.__nitro__.runtimeConfig;
22
- globalThis.useRuntimeConfig = () => config;
23
- }
24
- try {
25
- const ssrService = await import("../../.nitro/vite/services/ssr/index.js");
26
- const defaultService = ssrService.default || ssrService;
27
- const fetchHandler = defaultService?.fetch;
28
- if (typeof fetchHandler === "function") {
29
- return fetchHandler.bind(defaultService);
30
- }
31
- } catch (e) {
32
- console.error("[RENDERER] Native static import failed:", e);
33
- }
34
20
  for (const ssrServiceUrl of resolvePrerenderServiceUrls()) {
35
21
  try {
36
22
  const ssrService = await import(