0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

fix build

This commit is contained in:
Matthew Phillips 2024-12-16 16:22:06 -05:00
parent 02ed922b1e
commit f3f9c96fd0
2 changed files with 2 additions and 4 deletions

View file

@ -204,8 +204,8 @@ class AstroBuilder {
key: keyPromise, key: keyPromise,
}; };
const { internals, ssrOutputChunkNames, contentFileNames } = await viteBuild(opts); const { internals, ssrOutputChunkNames } = await viteBuild(opts);
await staticBuild(opts, internals, ssrOutputChunkNames, contentFileNames); await staticBuild(opts, internals, ssrOutputChunkNames);
// Write any additionally generated assets to disk. // Write any additionally generated assets to disk.
this.timer.assetsStart = performance.now(); this.timer.assetsStart = performance.now();

View file

@ -476,8 +476,6 @@ async function ssrMoveAssets(opts: StaticBuildOptions) {
cwd: fileURLToPath(serverAssets), cwd: fileURLToPath(serverAssets),
}); });
console.log('FILES2', files);
if (files.length > 0) { if (files.length > 0) {
await Promise.all( await Promise.all(
files.map(async function moveAsset(filename) { files.map(async function moveAsset(filename) {