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

feat(catalog): Minify Camel Catalog #230

Merged
merged 1 commit into from
Oct 18, 2023

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Oct 18, 2023

Context

Currently, we're generating the Camel Catalog at build time, in a pretty fashion.

The issue with this approach is the file size increase.

This pull request minifies those files at the UI build time, but preserves them in a pretty fashion in the dist folder, so it can be analyzed locally for devs.

Before

image

After

image

Fixes: #131

Currently, we're generating the Camel Catalog at build time, in a pretty
fashion.

The issue with this approach is the file size increase.

This pull request minifies those files at the UI build time, but preserves
them in a pretty fashion in the `dist` folder, so it can be analyzed locally for devs.

Fixes: KaotoIO#131
@lordrip lordrip requested a review from a team October 18, 2023 14:56
@lordrip lordrip merged commit 5c17105 into KaotoIO:main Oct 18, 2023
2 checks passed
@lordrip lordrip deleted the feat/minify-camel-catalog branch October 18, 2023 15:03
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.

Write Catalog and Schemas JSON minified
2 participants