Skip to content

fix: stop deleting HTML output for zip-output networks#17

Open
matan-rahmani wants to merge 1 commit into
smoudjs:masterfrom
matan-rahmani:fix/keep-zip-network-html
Open

fix: stop deleting HTML output for zip-output networks#17
matan-rahmani wants to merge 1 commit into
smoudjs:masterfrom
matan-rahmani:fix/keep-zip-network-html

Conversation

@matan-rahmani

Copy link
Copy Markdown

Summary

  • Removes the fs.rmSync cleanup of the temporary webpack output folder after ZipPlugin runs (added in v1.1.3)
  • This cleanup deletes the HTML files that downstream build pipelines need to discover and upload per-network builds for google, mintegral, vungle, and other zip-output networks
  • Without the HTML on disk, pipelines that scan dist/ for .html files silently skip these networks

Context

The ZipPlugin produces a .zip in the parent output directory, then the cleanup deletes the subfolder containing the source HTML. Build pipelines rely on finding those .html files to copy them into SETT_TEST_HTML/ and include them in manifests. The cleanup breaks this for all zip-output networks.

The rmSync cleanup added in v1.1.3 deletes the temporary webpack
output folder after ZipPlugin runs. This removes the HTML files
that downstream build pipelines rely on to discover and upload
per-network builds (google, mintegral, vungle, etc.).

Without the HTML on disk, pipelines that scan dist/ for .html
files silently skip these networks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant