2.0.8 • Published 3 months ago
@types/webpack-dotenv-plugin v2.0.8
Installation
npm install --save @types/webpack-dotenv-plugin
Summary
This package contains type definitions for webpack-dotenv-plugin (https://github.com/nwinch/webpack-dotenv-plugin#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/webpack-dotenv-plugin.
index.d.ts
// Type definitions for webpack-dotenv-plugin 2.0
// Project: https://github.com/nwinch/webpack-dotenv-plugin#readme
// Definitions by: Michael Strobel <https://github.com/kryops>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
import * as webpack from 'webpack';
declare namespace WebpackDotenvPlugin {
interface Options {
path?: string | undefined;
sample?: string | undefined;
silent?: boolean | undefined;
encoding?: string | undefined;
allowEmptyValues?: boolean | undefined;
}
}
declare class WebpackDotenvPlugin extends webpack.Plugin {
constructor(options?: WebpackDotenvPlugin.Options);
}
export = WebpackDotenvPlugin;
Additional Details
- Last updated: Fri, 02 Jul 2021 18:05:27 GMT
- Dependencies: @types/webpack
- Global values: none
Credits
These definitions were written by Michael Strobel.