From 0f0e534c24524a21efd081e610779c18383837bc Mon Sep 17 00:00:00 2001 From: Aleksandr Shevchuk Date: Thu, 3 Dec 2026 16:11:02 +0200 Subject: [PATCH] docs: the sample's comment says only what holds under player 2.0 (#153) --- vite.config.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index b3387a5..74d9116 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -112,9 +112,8 @@ function typeFiles(): Plugin { * upload check asks for: a visitor can download it and try it in their own Moodle. A source the * pinned build refuses stops the site's build, with its problems. * - * It is built here and not in the visitor's browser because the player reads a package from its - * address in ranges, its content alone, with the libraries from the page's own pack, where a build - * in the page would first fetch the parts it needs. + * It is built here and not in the visitor's browser, so a visit runs no build: the player reads + * its content from its address in ranges, with the libraries from the page's own pack. */ function sample(): Plugin { const source = new URL('./src/h5p/build/sample.json', import.meta.url)