mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
add optional builtAt key to webpack.Configuration.stats
This commit is contained in:
parent
efbde64a55
commit
ace3a02a39
2
types/webpack/index.d.ts
vendored
2
types/webpack/index.d.ts
vendored
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user