// Replacement for the external assert method to reduce bundle size// Note: We don't use the second "message" argument in calling code,// so no need to support it hereexportfunctionassert(condition, message) {
if (!condition) {
thrownewError(message || 'assert failed: gltf');
}
}