diff --git a/packages/astro/src/core/build/index.ts b/packages/astro/src/core/build/index.ts index 4253b8802f..e6e4bac66f 100644 --- a/packages/astro/src/core/build/index.ts +++ b/packages/astro/src/core/build/index.ts @@ -204,8 +204,8 @@ class AstroBuilder { key: keyPromise, }; - const { internals, ssrOutputChunkNames, contentFileNames } = await viteBuild(opts); - await staticBuild(opts, internals, ssrOutputChunkNames, contentFileNames); + const { internals, ssrOutputChunkNames } = await viteBuild(opts); + await staticBuild(opts, internals, ssrOutputChunkNames); // Write any additionally generated assets to disk. this.timer.assetsStart = performance.now(); diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index 4473d8d25a..47ada757e1 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -476,8 +476,6 @@ async function ssrMoveAssets(opts: StaticBuildOptions) { cwd: fileURLToPath(serverAssets), }); - console.log('FILES2', files); - if (files.length > 0) { await Promise.all( files.map(async function moveAsset(filename) {