Stone.js API
    Preparing search index...

    Registers an adapter-specific middleware in the blueprint.

    This function dynamically inserts a middleware definition into the blueprint if the adapter context matches either the platform or alias (or both are undefined).

    The middleware module to register (function, factory, or class).

    Metadata describing which adapter(s) the middleware applies to.

    A blueprint fragment that registers the middleware conditionally.