@opennextjs/cloudflare 0.6.2 → 0.6.3
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.
|
@@ -170,7 +170,7 @@ globalThis.__BUILD_TIMESTAMP_MS__ = ${Date.now()};
|
|
|
170
170
|
await updateWorkerBundledCode(openNextServerBundle, buildOpts);
|
|
171
171
|
const isMonorepo = monorepoRoot !== appPath;
|
|
172
172
|
if (isMonorepo) {
|
|
173
|
-
fs.writeFileSync(path.join(outputPath, "handler.mjs"), `export
|
|
173
|
+
fs.writeFileSync(path.join(outputPath, "handler.mjs"), `export { handler } from "./${normalizePath(packagePath)}/handler.mjs";`);
|
|
174
174
|
}
|
|
175
175
|
console.log(`\x1b[35mWorker saved in \`${getOutputWorkerPath(buildOpts)}\` 🚀\n\x1b[0m`);
|
|
176
176
|
}
|