Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minify metadata.py to reduce package size #347

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

AnnMarieW
Copy link
Collaborator

@AnnMarieW AnnMarieW commented Oct 11, 2024

closes #271

This PR reduces the size of the metadata.json from 5.5MB to 3.0MB 🎉

  • adds a new script minify_metadata.py to reduce the file size
  • updates the dist script to run minify_metadata.py before creating the source distribution
  • updates the release.md file so I remember how do to this when making a release 😛

@AnnMarieW AnnMarieW marked this pull request as ready for review October 11, 2024 02:04
Copy link

Generated link: snehilvj/dash-mantine-components-347

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

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

💃 But then if plotly/dash#3034 is merged and released we can remove this step here

@AnnMarieW AnnMarieW merged commit 76789a5 into snehilvj:master Oct 11, 2024
1 check passed
@BSd3v
Copy link
Contributor

BSd3v commented Oct 11, 2024

@alexcjohnson, this would introduce a dependency on the dash version for building?

@alexcjohnson
Copy link
Collaborator

Yes, but since that only applies to the one dev making the release it shouldn’t be a problem

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.

Reducing package size by trimming metadata.json
3 participants