mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #30860 from NN---/patch-26
configHash can be a string in HardSourceWebpackPlugin
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for hard-source-webpack-plugin 0.9
|
||||
// Type definitions for hard-source-webpack-plugin 1.0
|
||||
// Project: https://github.com/mzgoddard/hard-source-webpack-plugin#readme
|
||||
// Definitions by: woitechen <https://github.com/woitechen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -15,7 +15,7 @@ declare namespace hard_source_webpack_plugin { }
|
||||
|
||||
interface Options {
|
||||
cacheDirectory?: string;
|
||||
configHash?: (webpackConfig?: webpack.Configuration) => string;
|
||||
configHash?: string | ((webpackConfig?: webpack.Configuration) => string);
|
||||
environmentHash?: {
|
||||
root: string;
|
||||
directories: string[];
|
||||
|
||||
Reference in New Issue
Block a user