feat: build with esbuild

This commit is contained in:
2021-03-12 18:47:53 +01:00
parent 41243299af
commit 7f6d8b0896
13 changed files with 1455 additions and 22 deletions

View File

@ -1,6 +1,6 @@
<script lang="ts">
import { Cross } from "../icons";
import { fly, fade } from "svelte/transition";
import { fly, fade, slide } from "svelte/transition";
import { images as imageData, route } from "stores";
import { bufToImageUrl, AI, downloadImage } from "../helpers";
import type { Writable } from "svelte/store";
@ -88,7 +88,7 @@
</div>
{#if i === showAnalyzerIndex}
<div transition:fly={{ x: -50 }}>
<div in:slide out:slide>
<Analyzer {img} />
</div>
{/if}