Skip to content

use CDN for bundled icons#2906

Merged
davydkov merged 7 commits into
mainfrom
use-cdn-extract-icons
Apr 25, 2026
Merged

use CDN for bundled icons#2906
davydkov merged 7 commits into
mainfrom
use-cdn-extract-icons

Conversation

@davydkov

Copy link
Copy Markdown
Member

Load icons on demand from CDN instead of bundling all icon components, reducing bundle size. Icons are resolved from local cache, then @likec4/icons package, then fetched from icons.like-c4.dev.

davydkov and others added 7 commits April 15, 2026 23:47
Replace Vite `define` injection of `__DEFAULT_THEME__` with a
`defaultTheme` export from the `likec4:app-config` virtual module,
consistent with how other app settings are delivered. Also adds
prerender-svg script and changeset.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Apr 15, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 02caacc

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 21 packages
Name Type
@likec4/vite-plugin Patch
likec4 Patch
@likec4/log Patch
@likec4/vscode-preview Patch
@likec4/docs-astro Patch
@likec4/playground Patch
@likec4/config Patch
@likec4/generators Patch
@likec4/language-server Patch
@likec4/language-services Patch
@likec4/layouts Patch
@likec4/lsp Patch
@likec4/mcp Patch
likec4-vscode Patch
@likec4/style-preset Patch
@likec4/styles Patch
@likec4/core Patch
@likec4/diagram Patch
@likec4/leanix-bridge Patch
@likec4/react Patch
@likec4/tsconfig Patch

Not sure what this means? Click here to learn what changesets are.

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

@davydkov davydkov merged commit 9476ffc into main Apr 25, 2026
27 checks passed
@davydkov davydkov deleted the use-cdn-extract-icons branch April 25, 2026 10:45
@likec4-ci likec4-ci Bot mentioned this pull request Apr 25, 2026
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