From dda4a8e1dfc76b21ffefe9fdae09a13853e9bc0b Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Mon, 16 Dec 2024 14:19:11 -0500 Subject: [PATCH] Clean sourcemaps from static output (#12749) * Clean sourcemaps from static output * Add changeset * Update test to look at frontend sourcemaps --- packages/astro/src/core/build/static-build.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/astro/src/core/build/static-build.ts b/packages/astro/src/core/build/static-build.ts index 3d2262ca9d..804831ca4f 100644 --- a/packages/astro/src/core/build/static-build.ts +++ b/packages/astro/src/core/build/static-build.ts @@ -480,6 +480,8 @@ 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) {