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

Exclude sharp image optimalization package #447

Merged
merged 2 commits into from
Jun 21, 2024
Merged

Exclude sharp image optimalization package #447

merged 2 commits into from
Jun 21, 2024

Conversation

sinamics
Copy link
Owner

@sinamics sinamics commented Jun 21, 2024

Sharp has caused several issues due to its underlying dependency, libvips. Since ztnet only has a single image (the logo), image optimization is not necessary.

Replaced the <Image> component with a traditional <img> tag to simplify the implementation.

Ref #440 #104

@sinamics sinamics merged commit 72059d6 into main Jun 21, 2024
2 checks passed
@sinamics sinamics deleted the sharp branch June 21, 2024 18:31
@sinamics sinamics added the ztnet Main Application label Jun 21, 2024
@tinola
Copy link
Contributor

tinola commented Jun 29, 2024

Good news for FreeBSD users - vips package and all of dependencies is no more necessary to use ztnet :)
This is a huge improvement to make ztnet more lightweight :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ztnet Main Application
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants