/**
* Throws an `Error` with the optional `message` if `condition` is falsy
* @note Replacement for the external assert method to reduce bundle size
*/exportfunctionassert(condition, message) {
if (!condition) {
thrownewError(message || 'loader assertion failed.');
}
}