method TransformationHookManager.prototype.onBeforeTransform
TransformationHookManager.prototype.onBeforeTransform(hook: BeforeTransformHook): this

Register a hook to run before each transformation.

Multiple hooks can be registered; they fire in registration order.

Parameters

Return Type

this

this for fluent chaining.

Usage

import { TransformationHookManager } from ".";