Skip to content

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Oct 15, 2025

Previously, the manifest progressSize for texture packer assets only reflected the JSON file size, omitting the associated texture image size. This led to inaccurate asset size reporting.

Introduces a new texturePackerManifestMod pipe that runs after pixiManifest. This pipe scans for texture packer atlases, calculates the combined size of their JSON and image files, and updates the manifest accordingly.

Extracts the file size calculation logic into a reusable utility function.

Changes the pixiManifest includeFileSizes option default to false.

Updates the clean script to use rimraf --glob for improved glob pattern handling.
Adds documentation for using the new texture packer manifest modifier.

Zyie added 2 commits October 15, 2025 19:09
Previously, the manifest `progressSize` for texture packer assets only reflected the JSON file size, omitting the associated texture image size. This led to inaccurate asset size reporting.

Introduces a new `texturePackerManifestMod` pipe that runs after `pixiManifest`. This pipe scans for texture packer atlases, calculates the combined size of their JSON and image files, and updates the manifest accordingly.

Extracts the file size calculation logic into a reusable utility function.

Changes the `pixiManifest` `includeFileSizes` option default to `false`.

Updates the `clean` script to use `rimraf --glob` for improved glob pattern handling.
Adds documentation for using the new texture packer manifest modifier.
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