aboutsummaryrefslogtreecommitdiff
path: root/web/pw-frontend/src/lib/Visualizer.svelte
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-29 21:24:57 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-29 21:25:29 +0100
commit0c6d978442b244ca3f29c1ffdd44b5007ae7ad93 (patch)
treebaae5fa459a49ecd362e548e0649e2f58c669a70 /web/pw-frontend/src/lib/Visualizer.svelte
parent3eeaab6cec70e7a06a99a1ac2662974f71064bee (diff)
downloadplanetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.tar.xz
planetwars.dev-0c6d978442b244ca3f29c1ffdd44b5007ae7ad93.zip
separate out visualizer library
Diffstat (limited to 'web/pw-frontend/src/lib/Visualizer.svelte')
-rw-r--r--web/pw-frontend/src/lib/Visualizer.svelte5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/pw-frontend/src/lib/Visualizer.svelte b/web/pw-frontend/src/lib/Visualizer.svelte
index 297659c..bcd6c7a 100644
--- a/web/pw-frontend/src/lib/Visualizer.svelte
+++ b/web/pw-frontend/src/lib/Visualizer.svelte
@@ -1,6 +1,6 @@
<script lang="ts">
import { onMount } from 'svelte';
- import * as visualizer from '../lib/visualizer/index';
+ import * as visualizer from "pw-visualizer";
export let matchLog = null;
@@ -20,6 +20,7 @@
visualizer.set_loading(false);
}
}
+
</script>
<div id="main" class="loading">
@@ -57,5 +58,5 @@
</div>
<style scoped>
- @import 'visualizer/style.css';
+ @import 'pw-visualizer/src/style.css';
</style>