Packaging · const

BRIDGE_KEY

Where the bridge lands on globalThis. One name, so a game can feature-detect the shell.

Explained in Packaging an application.

const BRIDGE_KEY = "__driftHost"
import { BRIDGE_KEY } from '@driftengine/package';