0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-02-03 22:29:08 -05:00

Clean sourcemaps from static output (#12749)

* Clean sourcemaps from static output

* Add changeset

* Update test to look at frontend sourcemaps
This commit is contained in:
Matthew Phillips 2024-12-16 14:19:11 -05:00
parent c06194713c
commit dda4a8e1df

View file

@ -480,6 +480,8 @@ 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) {