Skip to content

DEFAULT_GAMEBOARD_ASSET_ROOT

const DEFAULT_GAMEBOARD_ASSET_ROOT: "models" = 'models'

Defined in: src/runtime/asset-root.ts:34

Default consumer asset root when no override is configured. Consumers set this via HEX_WORLDS_ASSET_ROOT env var or setGameboardAssetRoot to match their framework’s static-file root (e.g. public/models for Vite). The bare 'models' default works for CLI/Node consumers where the process CWD is the project root and bootstrap outputs to ./models.