Class FileMinifier

Class responsible for minifying files by removing whitespace and comments.

Constructors

Properties

Methods

Constructors

  • Creates an instance of FileMinifier.

    Parameters

    • filePaths: string[]

      The paths to the files to be minified.

    • options: MinifyOptions = {}

      The options for minifying files.

    Returns FileMinifier

Properties

filePaths: string[]

The paths to the files to be minified.

options: MinifyOptions = {}

The options for minifying files.

Methods

  • Minifies the files based on the provided options.

    Parameters

    • outputFilePath: string

      The path to the output file.

    Returns void

Generated using TypeDoc