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 6622960 commit 5f5aad9Copy full SHA for 5f5aad9
builder/src/build/build-worker/index.ts
@@ -101,9 +101,13 @@ export async function buildWorker(
101
updateWebpackChunksFile(nextjsAppPaths);
102
103
console.log(`\x1b[35m⚙️ Copying asset files...\n\x1b[0m`);
104
- await cp(`${nextjsAppPaths.dotNextDir}/static`, `${outputDir}/assets/_next`, {
105
- recursive: true,
106
- });
+ await cp(
+ `${nextjsAppPaths.dotNextDir}/static`,
+ `${outputDir}/assets/_next/static`,
107
+ {
108
+ recursive: true,
109
+ }
110
+ );
111
112
console.log(`\x1b[35mWorker saved in \`${workerOutputFile}\` 🚀\n\x1b[0m`);
113
}
@@ -187,4 +191,4 @@ function createFixRequiresESBuildPlugin(templateDir: string): Plugin {
187
191
}));
188
192
},
189
193
};
190
-};
194
+}
0 commit comments