@oazmi/superbuild - v0.1.0
    Preparing search index...

    Type Alias OnEmitCallback

    OnEmitCallback: (args: OnEmitArgs) => MaybePromiseOrNull<OnEmitResult>

    this is your onEmit hook function that gets called, if the handler associated with it allows a certain result from an onLoad hook to pass through its filter (OnEmitOptions).

    if your return value is nullable (null or undefined), then the next matching onEmit hook function will try to mutate the finalized loaded/transformed contents. if no emit hook returns a non-nullable after all matches have been made, then the transformed contents from the onTransform hook will be passed to esbuild as is.

    Type Declaration