The .drft container · const
DRFT_VERSION_MAJOR
The generation of the layout. Bumped only when a byte changes meaning.
Explained in The .drft container.
const DRFT_VERSION_MAJOR = 1import { DRFT_VERSION_MAJOR } from '@driftengine/drft';In depth
A file whose major exceeds the reader's is refused — that is the one direction compatibility is allowed to fail, and it fails loudly rather than by misreading.