npm.io
0.3.8 • Published 11 months ago

@types/generate-json-webpack-plugin

Licence
MIT
Version
0.3.8
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/generate-json-webpack-plugin

Summary

This package contains type definitions for generate-json-webpack-plugin (https://github.com/elliottsj/generate-json-webpack-plugin).

Details

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

index.d.ts

import webpack = require("webpack");

export = GenerateJsonWebpackPlugin;

declare class GenerateJsonWebpackPlugin implements webpack.WebpackPluginInstance {
    constructor(
        fileName: string,
        value: object,
        replacer?: ((key: string, value: any) => any) | null,
        space?: string | number | null,
    );

    apply: (compiler: webpack.Compiler) => void;
}

Additional Details

  • Last updated: Tue, 21 Oct 2025 1634 GMT
  • Dependencies: @types/webpack

Credits

These definitions were written by .