We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 88c0335 commit aca0e8eCopy full SHA for aca0e8e
packages/cloudflare/src/cli/config.ts
@@ -49,8 +49,9 @@ export type Config = {
49
* @returns The configuration, see `Config`
50
*/
51
export function getConfig(projectOpts: ProjectOptions): Config {
52
+ const sourceDirDotNext = join(projectOpts.sourceDir, ".next");
53
const dotNext = join(projectOpts.outputDir, ".next");
- const appPath = getNextjsApplicationPath(dotNext).replace(/\/$/, "");
54
+ const appPath = getNextjsApplicationPath(sourceDirDotNext).replace(/\/$/, "");
55
const standaloneRoot = join(dotNext, "standalone");
56
const standaloneApp = join(standaloneRoot, appPath);
57
const standaloneAppDotNext = join(standaloneApp, ".next");
0 commit comments