Function extractDestinationAndName

  • Extracts the destination for a generated output file from an input file path

    Returns

    an object containing the name of the source file and the output destination.

    Parameters

    • filePath: string

      the name of the input file. If destination is undefined, the output file will be created in a "generated/" subdirectory.

    • destination: undefined | string

      the output destination. If undefined, filePath is used with "generated/" appended.

    Returns FilePathData

Generated using TypeDoc