Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

DevWorldTrait

const DevWorldTrait: TagTrait

Marks a world run in development, where the agent building the game reads the console: the page in development mode, the headless harness, a room that allows edits, and a game’s own tests under vitest in jsdom or node. A built game a player opens carries none, so its warnings stay silent. A flag on the world rather than import.meta.env.DEV, which the engine’s library build fixes to false for every host that runs the built package.