From ace3a02a39ab8d8635968c19d7fc3a122d51a2b6 Mon Sep 17 00:00:00 2001 From: g-harel Date: Fri, 15 Jun 2018 14:41:31 -0400 Subject: [PATCH] add optional builtAt key to webpack.Configuration.stats --- types/webpack/index.d.ts | 2 ++ types/webpack/webpack-tests.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/types/webpack/index.d.ts b/types/webpack/index.d.ts index 0339a4ebb5..582759819b 100644 --- a/types/webpack/index.d.ts +++ b/types/webpack/index.d.ts @@ -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) */ diff --git a/types/webpack/webpack-tests.ts b/types/webpack/webpack-tests.ts index b7b9ca8913..913eea0b19 100644 --- a/types/webpack/webpack-tests.ts +++ b/types/webpack/webpack-tests.ts @@ -383,6 +383,7 @@ webpack({ const jsonStatsWithAllOptions = stats.toJson({ assets: true, assetsSort: "field", + builtAt: true, cached: true, children: true, chunks: true,