@types/webpack-files-archive-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Installation

npm install --save @types/webpack-files-archive-plugin

Summary

This package contains type definitions for webpack-files-archive-plugin (https://github.com/himanshuapril1/webpack-files-archive-plugin).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-files-archive-plugin.

index.d.ts

/// <reference types="node" />
import type { Compiler } from "webpack";

declare namespace WebpackFilesArchivePlugin {
    type Formats = "tar" | "zip";

    interface Options {
        /**
         * Archive formats to use, can be 'tar' or 'zip'
         */
        format: Formats | Formats[];
        /**
         *  Directory location of files to be archived.
         */
        output?: string;
        /**
         * A different extension to use instead of tar.gz or zip (without leading .)
         */
        ext?: string;
    }
}

declare class WebpackFilesArchivePlugin {
    constructor(options: WebpackFilesArchivePlugin.Options);

    apply(compiler: Compiler): void;
}

export = WebpackFilesArchivePlugin;

Additional Details

Credits

These definitions were written by Yusuf Ades.

/@types/webpack-files-archive-plugin/

    Package Sidebar

    Install

    npm i @types/webpack-files-archive-plugin

    Weekly Downloads

    0

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    4.44 kB

    Total Files

    5

    Last publish

    Collaborators

    • types