Function getVanityStub

  • Get the "path stub" at the end of the path, if the user hasn't explicitly opted out of this behavior

    Parameters

    • originalFilename: undefined | string

      The original filename of the asset

    • vanityFilename: undefined | string

      The vanity filename of the asset

    • Optionaloptions: PathBuilderOptions

      Options to control the behavior of the path builder

    Returns string

    The vanity stub, if any