UNPKG

885 BTypeScriptView Raw
1// Type definitions for case-sensitive-paths-webpack-plugin 2.1
2// Project: https://github.com/Urthen/case-sensitive-paths-webpack-plugin#readme
3// Definitions by: Andrew Makarov <https://github.com/r3nya>
4// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
5// TypeScript Version: 3.7
6
7import { Plugin, Compiler } from 'webpack';
8
9export = CaseSensitivePathsWebpackPlugin;
10
11declare class CaseSensitivePathsWebpackPlugin extends Plugin {
12 constructor(options?: CaseSensitivePathsWebpackPlugin.Options);
13
14 apply(compiler: Compiler): void;
15}
16
17declare namespace CaseSensitivePathsWebpackPlugin {
18 interface Options {
19 /**
20 * Show more information
21 */
22 debug?: boolean | undefined;
23 /**
24 * Run before emit instead of after resolve for individual files
25 */
26 useBeforeEmitHook?: boolean | undefined;
27 }
28}