From a16911874c3d157aa7057dfec44b4c8c74b4b6fa Mon Sep 17 00:00:00 2001
From: Vanilagy <1696106+Vanilagy@users.noreply.github.com>
Date: Wed, 9 Jul 2025 12:14:29 +0200
Subject: [PATCH] Clarify built distribution files in docs
---
docs/guide/installation.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/docs/guide/installation.md b/docs/guide/installation.md
index 2f9c0bc..c57cedf 100644
--- a/docs/guide/installation.md
+++ b/docs/guide/installation.md
@@ -27,7 +27,9 @@ ESM is preferred because it gives you tree shaking.
You can also just include the library using a script tag in your HTML:
```html
-
+
```
-You can download the built distribution file from the [releases page](https://github.com/Vanilagy/mediabunny/releases).
\ No newline at end of file
+This will add a `Mediabunny` object to the global scope.
+
+You can download a built distribution file from the [releases page](https://github.com/Vanilagy/mediabunny/releases). Use the `*.cjs` builds for normal script tag inclusion, or the `*.mjs` builds for script tags with `type="module"` or direct imports via ESM. Including the `mediabunny.d.ts` declaration file in your TypeScript project will declare a global `Mediabunny` namespace.
\ No newline at end of file