Skip to content

Commit

Permalink
Merge pull request #3034 from plotly/alex/shrink-metadata
Browse files Browse the repository at this point in the history
Remove whitespace in metadata.json
  • Loading branch information
alexcjohnson authored Oct 11, 2024
2 parents f2244d6 + 6e65ece commit a354a73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- [#3011](https://github.com/plotly/dash/pull/3011) Fixed an exception error caused by assigning `None` to array properties with `exact` or `shape` element types. Fixes [#3010](https://github.com/plotly/dash/issues/3010)
- [#2991](https://github.com/plotly/dash/pull/2991) Add support for URL decoding of the search parameter for pages.
- [#3025](https://github.com/plotly/dash/pull/3025) Fix no output callback with error handler setting the response to NoUpdate and triggering an error.
- [#3034](https://github.com/plotly/dash/pull/3034) Remove whitespace from `metadata.json` files to reduce package size

## [2.18.1] - 2024-09-12

Expand Down
2 changes: 1 addition & 1 deletion dash/development/component_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def generate_components(
with open(
os.path.join(project_shortname, "metadata.json"), "w", encoding="utf-8"
) as f:
json.dump(metadata, f, indent=2)
json.dump(metadata, f, separators=(",", ":"))

generate_imports(project_shortname, components)

Expand Down

0 comments on commit a354a73

Please sign in to comment.