Skip to content

Remove object files and other large not needed artifacts from prebuilds.#2450

Merged
chearon merged 2 commits intoAutomattic:prebuildsfrom
btsimonh:removeobjectfiles
Dec 6, 2024
Merged

Remove object files and other large not needed artifacts from prebuilds.#2450
chearon merged 2 commits intoAutomattic:prebuildsfrom
btsimonh:removeobjectfiles

Conversation

@btsimonh
Copy link
Copy Markdown

@btsimonh btsimonh commented Nov 1, 2024

Thanks for contributing!

  • Have you updated CHANGELOG.md? - no there is none for prebuilds?

Removes LARGE artifacts in the prebuilds.

Macos:

deletes object files (save a few mb)

Linux:

deletes object files and strips libraries (save ~22mbytes)

Windows

Deletes object files and debug files. (save 45mbytes)

Copy link
Copy Markdown
Collaborator

@chearon chearon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, I've been meaning to do this. I have a few other ideas on how to get the size down even more and hopefully fit it in the NPM tarball. Hoping to look at your other PRs this weekend.

@chearon chearon merged commit acf33d0 into Automattic:prebuilds Dec 6, 2024
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.

2 participants