0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

Revert "fix custom assetFileNames issue (#12449)" (#12746)

* Revert "fix custom `assetFileNames` issue (#12449)"

This reverts commit e6b8017239.

This change caused source maps to be left in the client folder, exposing them into the server.

* Add changeset
This commit is contained in:
Matthew Phillips 2024-12-16 12:01:37 -05:00
parent 780a41f616
commit c06194713c

View file

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