From f3f9c96fd0ddec053a4606862bc6a264eeeb4884 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Mon, 16 Dec 2024 16:22:06 -0500 Subject: [PATCH] fix build --- packages/astro/src/core/build/index.ts | 4 ++-- packages/astro/src/core/build/static-build.ts | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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) {