Improve build process and remove WebP support
This commit is contained in:
parent
3649a033b0
commit
4f47bb639a
21 changed files with 31 additions and 102 deletions
|
|
@ -8,16 +8,13 @@ import './preview.scss';
|
|||
export const generate = ({
|
||||
alt,
|
||||
posterWebP,
|
||||
posterJpeg,
|
||||
}: {
|
||||
alt: string;
|
||||
posterWebP: ResponsiveImage;
|
||||
posterJpeg: ResponsiveImage;
|
||||
}): html => `
|
||||
<div class="preview">
|
||||
${Image({
|
||||
imageWebP: posterWebP,
|
||||
imageJpeg: posterJpeg,
|
||||
alt,
|
||||
container: true,
|
||||
isIgnoredByImageViewer: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue