Skip to content

Experiment to reduce bundle size on the server - #4464

Draft
conico974 wants to merge 8 commits into
mainfrom
conico/size-reduction
Draft

Experiment to reduce bundle size on the server#4464
conico974 wants to merge 8 commits into
mainfrom
conico/size-reduction

Conversation

@conico974

Copy link
Copy Markdown
Contributor

Refactor the code to move locales and mermaid out of the bundle.
Introduce Scalar API client integration with runtime support, including new components for API interaction and enhancements for lazy loading.
Update scripts for asset generation and clean-up.

@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 73a48cb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@argos-ci

argos-ci Bot commented Aug 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 4 changed, 7 ignored Aug 7, 2026, 1:56 PM
customers-v2-vercel (Inspect) ⚠️ Changes detected (Review) 2 changed, 4 ignored Aug 7, 2026, 1:54 PM
v2-cloudflare (Inspect) ⚠️ Changes detected (Review) 1 changed, 5 ignored Aug 7, 2026, 1:57 PM
v2-vercel (Inspect) ⚠️ Changes detected (Review) 1 changed, 2 ignored Aug 7, 2026, 1:57 PM

@conico974
conico974 force-pushed the conico/size-reduction branch from b168608 to 09992db Compare August 5, 2026 17:01
@conico974
conico974 force-pushed the conico/size-reduction branch from 09992db to d007184 Compare August 6, 2026 09:28
- Introduce generate-scalar-runtime script to build Scalar runtime assets.
- Update clean script to remove Scalar-related files.
- Enhance context to include scalarRuntimeURL for lazy loading.
- Implement ScalarApiModal and ScalarApiButton components for API client interaction.
- Create scalar-runtime-path for managing runtime asset paths.
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