From 4b6bd21dea6b72298d036a1833e462ebddff43da Mon Sep 17 00:00:00 2001
From: Paolo Priotto
Date: Wed, 26 May 2021 09:41:32 +0200
Subject: [PATCH] fix: add cachedAssets to stats options
fixes #770
---
packages/webpack-plugin/src/index.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/packages/webpack-plugin/src/index.js b/packages/webpack-plugin/src/index.js
index 3cba3467..a844cacb 100644
--- a/packages/webpack-plugin/src/index.js
+++ b/packages/webpack-plugin/src/index.js
@@ -22,6 +22,7 @@ class LoadablePlugin {
const stats = compilation.getStats().toJson({
all: false,
assets: true,
+ cachedAssets: true,
chunks: false,
chunkGroups: true,
chunkGroupChildren: true,