@monkeyplus/flow 6.0.65 → 6.0.66

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.
@@ -91,7 +91,8 @@ export default defineFlowModule({
91
91
  ...options.domains || {}
92
92
  };
93
93
  const isSsg = context.flowConfig.build.preset === "ssg";
94
- const shouldGenerateOutput = isSsg && process.env.NODE_ENV === "production";
94
+ const isNetlifyPreset = context.flowConfig.nitro?.preset === "netlify" || !!process.env.NETLIFY;
95
+ const shouldGenerateOutput = (isSsg || isNetlifyPreset) && process.env.NODE_ENV === "production";
95
96
  const isNetlify = !!process.env.NETLIFY;
96
97
  const publicDir = resolve(context.projectRoot, "public");
97
98
  const renameDir = resolve(context.projectRoot, options.dirRenames);
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monkeyplus/flow",
3
- "version": "6.0.65",
3
+ "version": "6.0.66",
4
4
  "description": "@monkeyplus/flow package-first runtime with Vite, Nitro, Vue and a workspace playground.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {