From e4173230b5e4f147be1e97a63468d0c27e21fe4a Mon Sep 17 00:00:00 2001 From: Joe Haddad Date: Tue, 5 Nov 2019 16:02:20 -0500 Subject: [PATCH] Track polyfill file changes --- test/.stats-app/stats-config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/.stats-app/stats-config.js b/test/.stats-app/stats-config.js index 46800a804bed8..e225b8a2982d7 100644 --- a/test/.stats-app/stats-config.js +++ b/test/.stats-app/stats-config.js @@ -13,6 +13,10 @@ const clientGlobs = [ '.next/static/chunks/*.module.js' ] }, + { + name: 'Legacy Client Bundles (polyfills)', + globs: ['.next/static/runtime/+(polyfills)-!(*.module.js)'] + }, { name: 'Client Pages', globs: ['.next/static/*/pages/**/!(*.module.js)'] @@ -44,6 +48,10 @@ const renames = [ srcGlob: '.next/static/runtime/webpack-!(*.module.js)', dest: '.next/static/runtime/webpack-HASH.js' }, + { + srcGlob: '.next/static/runtime/polyfills-!(*.module.js)', + dest: '.next/static/runtime/polyfills-HASH.js' + }, { srcGlob: '.next/static/chunks/commons!(*.module.js)', dest: '.next/static/chunks/commons.HASH.js'