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 0111a65 commit 846efeaCopy full SHA for 846efea
src/command/render/project.ts
@@ -458,9 +458,17 @@ export async function renderProject(
458
// call project post-render
459
if (!projResults.error) {
460
const outputFiles = projResults.files.map((result) => {
461
- const file = outputDir ? join(outputDir, result.file) : result.file;
+ const outputDir = projectFormatOutputDir(
462
+ result.format,
463
+ context,
464
+ projType,
465
+ );
466
+
467
+ const file = outputDir
468
+ ? join(outputDir, result.file)
469
+ : join(projDir, result.file);
470
return {
- file: join(projDir, file),
471
+ file,
472
format: result.format,
473
};
474
});
0 commit comments