Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down