fix: make it work with new vite

This commit is contained in:
Max Richter
2026-01-10 19:28:09 +01:00
parent 694feb083d
commit 8d712322c0
66 changed files with 590 additions and 1544 deletions

View File

@@ -1,5 +1,4 @@
import { asset } from "fresh/runtime";
import * as CSS from "csstype";
interface ResponsiveAttributes {
srcset: string;
@@ -38,7 +37,7 @@ const Image = (
fill?: boolean;
width?: number | string;
height?: number | string;
style?: CSS.HtmlAttributes;
style?: preact.CSSProperties;
},
) => {
const responsiveAttributes = generateResponsiveAttributes(