From b460e4e2f2da78de6870d1cd578d21b66e7dda44 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Tue, 1 Aug 2017 01:50:33 +0430 Subject: [PATCH] webpack: hide internal assets and source maps in stats --- lib/builder/builder.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/builder/builder.js b/lib/builder/builder.js index 9e0c9ae50f..6ef8f7799c 100644 --- a/lib/builder/builder.js +++ b/lib/builder/builder.js @@ -377,7 +377,8 @@ export default class Builder extends Tapable { // Hide internal assets and source maps in stats const hiddenAssets = [ /.map$/, - /index\..+\.html$/ + /index\..+\.html$/, + /vue-ssr-client-manifest.json/ ] const statsJson = stats.toJson(this.webpackStats, true) statsJson.assets = statsJson.assets.filter(asset => hiddenAssets.every(e => !e.test(asset.name)))