DriftScript bindings · function
engineTarget
A target providing everything this engine has wired.
Explained in Setting up scripts.
function engineTarget(name?: string): TargetManifestimport { engineTarget } from '@driftengine/script';Parameters
| Parameter | Type | Description |
|---|---|---|
name? | string |
In depth
A consumer that wants less passes its own list. A consumer that wants more cannot — the
manifest may only name modules something provides, so a target claiming drift/ecs is refused
at the manifest rather than at every call site.