Repository navigation
docs(demo-assets): state what a bundled build emits and how maps load - #864
Merged
Merged
Conversation
Exoridus
enabled auto-merge (squash)
October 22, 2026 11:52
Bundle ReportBundle size has no change ✅ Affected Assets, Files, and Routes:view changes for bundle: site-server-esmAssets Changed:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A production consumer test (Vite 8 build of a clean project against the packed packages, driven with Playwright) confirmed the documented hosting path: with
exojs-demo-assets-copyandcreateDemoAssets(baseUrl), a texture, a spritesheet, Tiled maps, an LDtk project, a bitmap font, a sound sprite with its sidecar and a music track all load, the copy is byte-identical tomanifest.json, and every relative reference inside the maps and the font resolves against the copied directory. With the default catalog, Tiled, LDtk and the bitmap font fail as the README already warns (small files inlined asdata:URLs, larger ones hashed).Two things the README did not say:
createDemoAssetsincluded, because the bundler rewrites everynew URL(...)of the generated catalog before it drops unused exports. The README only attributed that to importingdemoAssets.Asset.type('tileMap', ...),Asset.type('ldtkMap', ...)), as the playground examples do.Documentation only; no API change.