Skip to content

Feature/initial development - #3

Merged
ndorin merged 2 commits into
mainfrom
feature/initial-development
Sep 30, 2026
Merged

ndorin merged 2 commits into
mainfrom
feature/initial-development

Conversation

@ndorin

@ndorin ndorin commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

This pull request updates the Vite configuration to address an issue with SVG asset rendering. The main change ensures that all SVG files are inlined as data URIs, resolving a problem where larger SVGs were not displayed correctly when emitted as separate files.

Asset handling improvements:

  • Updated the build.assetsInlineLimit option in vite.config.ts to inline all SVG files as data URIs, regardless of size, while leaving other asset types unchanged. This fixes rendering issues for SVGs above Vite's default 4KB limit.

@ndorin ndorin self-assigned this Sep 30, 2026
@ndorin
ndorin merged commit 89c3f91 into main Sep 30, 2026
2 checks passed
@ndorin
ndorin deleted the feature/initial-development branch September 30, 2026 00:02
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