Improve build process and remove WebP support

This commit is contained in:
Andras Schmelczer 2022-09-21 23:18:03 +02:00
parent 3649a033b0
commit 4f47bb639a
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
21 changed files with 31 additions and 102 deletions

View file

@ -1,6 +1,5 @@
import { Image } from '../../page/basics/image/image.html';
import { TimelineElementParameters } from '../../page/timeline/timeline-element/timeline-element-parameters';
import photosJpeg from '../media/photos.jpg?format=jpg';
import photosWebP from '../media/photos.jpg?format=webp';
import { Open } from '../shared';
@ -9,7 +8,6 @@ export const photosTimelineElement: TimelineElementParameters = {
date: `2016 summer`,
figure: Image({
imageWebP: photosWebP,
imageJpeg: photosJpeg,
alt: `a picture of the website`,
container: true,
}),