mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-09-07 09:40:19 +00:00
add optional builtAt key to webpack.Configuration.stats
This commit is contained in:
Vendored
+2
@@ -1132,6 +1132,8 @@ declare namespace webpack {
|
||||
assets?: boolean;
|
||||
/** Sort assets by a field */
|
||||
assetsSort?: string;
|
||||
/** Add built at time information */
|
||||
builtAt?: boolean;
|
||||
/** Add information about cached (not built) modules */
|
||||
cached?: boolean;
|
||||
/** Show cached assets (setting this to `false` only shows emitted files) */
|
||||
|
||||
@@ -383,6 +383,7 @@ webpack({
|
||||
const jsonStatsWithAllOptions = stats.toJson({
|
||||
assets: true,
|
||||
assetsSort: "field",
|
||||
builtAt: true,
|
||||
cached: true,
|
||||
children: true,
|
||||
chunks: true,
|
||||
|
||||
Reference in New Issue
Block a user