From 2c81ffa3e81e11e4fa9179ddc685e3987fde25be Mon Sep 17 00:00:00 2001
From: Luke Curley
Date: Mon, 2 Dec 2024 14:29:43 -0800
Subject: [PATCH] Fix tree-shaking on prod.
---
bun.lockb | Bin 279897 -> 279897 bytes
package.json | 2 +-
src/components/watch.tsx | 2 +-
src/pages/watch/[...path].astro | 2 +-
4 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/bun.lockb b/bun.lockb
index be863609f1fcb583101ab1a8e5358a663398442f..baf6d4531088a1f30c2849a4baf12a151686be06 100755
GIT binary patch
delta 153
zcmV;K0A~N$iV@k05s)q*CZ-UC=Z3t$YOQW(7DyT@2%`H=e_bevGeiy%yof0Ou}*5G
zlQ>r}gXpEV=%oP#1VHy8l(EXVxA_r&K@i`xKD>e>@QzoTNz~LB_ET_atL;w6#=j}@
zy!FM|g1O%80P^6k=fgURyXWg!*LlFizdDC4ssXnxssg+t0X2u}%>uXT%>$q|0X4Ua
H1O(1NU+_$}
delta 153
zcmV;K0A~N$iV@k05s)q*A<>(SD_?MUlFar|v-0UA=u}*5G
zlQ_jOgXyKW>7@Y#1VB1&8TG6F{yH`MfVFAsCPUeM?QSX|7zV2G(rHsAUz;7C*j_@9
zc}^WU)NX+6tmT+g4zeVDh*Zv2>uXT%>$q|0W`OZ
H1O(1NSwuz)
diff --git a/package.json b/package.json
index 8987d53..df3a4d2 100644
--- a/package.json
+++ b/package.json
@@ -15,7 +15,7 @@
"@astrojs/node": "8.3.4",
"@astrojs/solid-js": "4.4.4",
"@astrojs/tailwind": "5.1.2",
- "@kixelated/moq": "^0.3.4",
+ "@kixelated/moq": "^0.3.5",
"@tailwindcss/forms": "^0.5.9",
"@tailwindcss/typography": "^0.5.15",
"astro": "4.16.16",
diff --git a/src/components/watch.tsx b/src/components/watch.tsx
index 6f78204..5b4a970 100644
--- a/src/components/watch.tsx
+++ b/src/components/watch.tsx
@@ -1,4 +1,4 @@
-import "@kixelated/moq";
+import "@kixelated/moq/element/video";
export default function Watch(props: { path: string }) {
// Use query params to allow overriding environment variables.
diff --git a/src/pages/watch/[...path].astro b/src/pages/watch/[...path].astro
index 2417911..3cf4154 100644
--- a/src/pages/watch/[...path].astro
+++ b/src/pages/watch/[...path].astro
@@ -16,5 +16,5 @@ import Layout from "@/layouts/global.astro";
Watching a PUBLIC broadcast. Pls report any abuse.
-
+