Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "compilers"

Index

Functions

cleanupPatternList

  • cleanupPatternList(patterns: string | string[], defaultPatterns: string | string[]): string[]
  • Parameters

    • patterns: string | string[]
    • defaultPatterns: string | string[]

    Returns string[]

collectFiles

  • collectFiles(opts: CompileOptions, defaultFiles?: string | string[], defaultExcludes?: string | string[]): Promise<string[]>
  • Collects files for compilation.

    Parameters

    • opts: CompileOptions

      The underlying compile options.

    • Optional defaultFiles: string | string[]
    • Optional defaultExcludes: string | string[]

      One or more default pattern for files to EXCLUDE.

    Returns Promise<string[]>

    The array with the files.

compile

getBaseDirectory

  • Returns the base directory from compiler options.

    Parameters

    Returns string

    The full path of the base directory.

getFullOutputPathForSourceFile

  • getFullOutputPathForSourceFile(file: string, opts: CompileOptions): string
  • Returns the full output path for a file.

    Parameters

    Returns string

    The output file path.

getOutputDirectory

  • Returns the output directory from compiler options.

    Parameters

    Returns string | false

    The full path of the output directory or (false) if no output directory has been defined.

Generated using TypeDoc