Skip to content

Commit

Permalink
Clean sourcemaps from static output (#12749)
Browse files Browse the repository at this point in the history
* Clean sourcemaps from static output

* Add changeset

* Update test to look at frontend sourcemaps
  • Loading branch information
matthewp committed Dec 16, 2024
1 parent c061947 commit dda4a8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/astro/src/core/build/static-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit dda4a8e

Please sign in to comment.