Unverified Commit 059741ea authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Update stats-config for new polyfills location (#15584)

This makes sure to not group the polyfills chunk in with the client bundles group now that it is output under chunks instead of runtime
parent bf3b1b56
...@@ -3,19 +3,19 @@ const clientGlobs = [ ...@@ -3,19 +3,19 @@ const clientGlobs = [
name: 'Client Bundles (main, webpack, commons)', name: 'Client Bundles (main, webpack, commons)',
globs: [ globs: [
'.next/static/runtime/+(main|webpack)-!(*.module.js)', '.next/static/runtime/+(main|webpack)-!(*.module.js)',
'.next/static/chunks/!(*.module.js)', '.next/static/chunks/!(polyfills-*|*.module.js)',
], ],
}, },
{ {
name: 'Client Bundles (main, webpack, commons) Modern', name: 'Client Bundles (main, webpack, commons) Modern',
globs: [ globs: [
'.next/static/runtime/+(main|webpack)-*.module.js', '.next/static/runtime/+(main|webpack)-*.module.js',
'.next/static/chunks/*.module.js', '.next/static/chunks/!(polyfills-*)*.module.js',
], ],
}, },
{ {
name: 'Legacy Client Bundles (polyfills)', name: 'Legacy Client Bundles (polyfills)',
globs: ['.next/static/runtime/+(polyfills)-!(*.module.js)'], globs: ['.next/static/chunks/+(polyfills)-!(*.module.js)'],
}, },
{ {
name: 'Client Pages', name: 'Client Pages',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment