mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Add moduleIds and chunkIds to webpack optimization options. (#36848)
This commit is contained in:
committed by
Armando Aguirre
parent
6968096151
commit
c2a682fcaf
Vendored
+4
@@ -661,6 +661,10 @@ declare namespace webpack {
|
||||
namedModules?: boolean;
|
||||
/** Instead of numeric ids, give chunks readable names for better debugging. */
|
||||
namedChunks?: boolean;
|
||||
/** Tells webpack which algorithm to use when choosing module ids. Default false. */
|
||||
moduleIds?: boolean | "natural" | "named" | "hashed" | "size" | "total-size";
|
||||
/** Tells webpack which algorithm to use when choosing chunk ids. Default false. */
|
||||
chunkIds?: boolean | "natural" | "named" | "size" | "total-size";
|
||||
/** Defines the process.env.NODE_ENV constant to a compile-time-constant value. This allows to remove development only code from code. */
|
||||
nodeEnv?: string | false;
|
||||
/** Use the minimizer (optimization.minimizer, by default uglify-js) to minimize output assets. */
|
||||
|
||||
Reference in New Issue
Block a user