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 processSimulatorInputJpeg from '../media/process-simulator-input.jpg?format=jpg';
import processSimulatorInputWebP from '../media/process-simulator-input.jpg?format=webp';
export const nuclearEditorTimelineElement: TimelineElementParameters = {
@ -8,7 +7,6 @@ export const nuclearEditorTimelineElement: TimelineElementParameters = {
date: `2018 October - November`,
figure: Image({
imageWebP: processSimulatorInputWebP,
imageJpeg: processSimulatorInputJpeg,
alt: `a picture of the simulator's UI`,
container: true,
}),