Co-authored-by: Leng, Errong <eleng@bestbuycanada.ca>
This commit is contained in:
parent
750a978b27
commit
64017a27ba
@ -76,7 +76,10 @@ export async function* viteBuildExecutor(
|
||||
});
|
||||
yield* iterable;
|
||||
} else {
|
||||
yield { success: true };
|
||||
const output = watcherOrOutput?.['output'] || watcherOrOutput?.[0]?.output;
|
||||
const fileName = output?.[0]?.fileName || 'main.cjs';
|
||||
const outfile = resolve(normalizedOptions.outputPath, fileName);
|
||||
yield { success: true, outfile };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user