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
- Last updated: Tue, 07 Nov 2023 15:11:36 GMT
- Dependencies: @types/node, buffer, tapable, webpack
Credits
These definitions were written by Yusuf Ades.