Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .changeset/soft-donkeys-repeat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
"@solidjs/image": patch
---

Images now load. The `img` element receives the source, and the broken `source` element that was rendered without a transformer is gone.

The shipped stylesheet now matches the rendered markup. Elements are tagged with `data-solid-image` instead of `data-start-image`.

The default image quality is now 80. It was 0.8, which sharp rejects. The `quality` option is now optional.
3 changes: 3 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- name: Build
run: pnpm build

- name: Install Playwright browsers
run: pnpm exec playwright install --with-deps chromium

- name: Test
run: pnpm test

Expand Down
Loading
Loading