Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update webpack server chunks output #22697

Merged
merged 8 commits into from Mar 3, 2021
Merged

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Mar 2, 2021

This updates to output server chunks to a nested folder to prevent bundling the entire folder when tracing. This also fixes the webpack 5 tests not actually using webpack 5 since #22583 since the webpack 5 enabling check didn't account for the test environment variable used to enable webpack 5. This also clears up some deprecation warnings from webpack 5 in the mini-css-extract-plugin.

Fixes: #21297

@ijjk
Copy link
Member Author

ijjk commented Mar 2, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 13s 13.2s ⚠️ +290ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.17 kB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 2.364 2.384 ⚠️ +0.02
/ avg req/sec 1057.66 1048.77 ⚠️ -8.89
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.768 1.637 -0.13
/error-in-render avg req/sec 1413.72 1527.25 +113.53
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 612 B 612 B
link.html gzip 619 B 619 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 15.1s 15.3s ⚠️ +144ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.17 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Serverless bundles
vercel/next.js canary ijjk/next.js update/chunks-output Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.4 kB 10.4 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 15.2s 15.2s -39ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.17 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 2.334 2.347 ⚠️ +0.01
/ avg req/sec 1071.15 1065.26 ⚠️ -5.89
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.622 1.748 ⚠️ +0.13
/error-in-render avg req/sec 1540.91 1430.1 ⚠️ -110.81
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
597-74632e79..1d47.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.6 kB 6.6 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 60.1 kB 60.1 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-aedc815..1421.js gzip 1.26 kB 1.26 kB
_error-71ec2..1a96.js gzip 3.38 kB 3.38 kB
amp-33a09cb0..6745.js gzip 536 B 536 B
hooks-4e968a..f870.js gzip 902 B 902 B
index-5c6845..f75c.js gzip 230 B 230 B
link-99f0c6c..b84a.js gzip 1.65 kB 1.65 kB
routerDirect..bb56.js gzip 306 B 306 B
withRouter-7..2133.js gzip 302 B 302 B
Overall change 8.57 kB 8.57 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 326 B 326 B
Overall change 326 B 326 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 586 B 586 B
link.html gzip 593 B 593 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "_2NzMgnsqE2Q3utBqKl02",
+        "buildId": "rh-RupSA0kbc09LVfC3Zg",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_buildManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_ssgManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "_2NzMgnsqE2Q3utBqKl02",
+        "buildId": "rh-RupSA0kbc09LVfC3Zg",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_buildManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_ssgManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "_2NzMgnsqE2Q3utBqKl02",
+        "buildId": "rh-RupSA0kbc09LVfC3Zg",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_buildManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/_2NzMgnsqE2Q3utBqKl02/_ssgManifest.js"
+      src="/_next/static/rh-RupSA0kbc09LVfC3Zg/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 8857b6b

@ijjk
Copy link
Member Author

ijjk commented Mar 2, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 11.1s 11.1s ⚠️ +24ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.7 kB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 2.121 2.152 ⚠️ +0.03
/ avg req/sec 1178.45 1161.64 ⚠️ -16.81
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.456 1.398 -0.06
/error-in-render avg req/sec 1717.58 1788.02 +70.44
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 612 B 612 B
link.html gzip 619 B 619 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 11.9s 11.9s
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.7 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Serverless bundles
vercel/next.js canary ijjk/next.js update/chunks-output Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.4 kB 10.4 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 11.8s 12.1s ⚠️ +290ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +3.7 kB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 1.914 1.864 -0.05
/ avg req/sec 1305.92 1341.29 +35.37
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.337 1.299 -0.04
/error-in-render avg req/sec 1870.16 1925.07 +54.91
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
597-74632e79..1d47.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.6 kB 6.6 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 60.1 kB 60.1 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-aedc815..1421.js gzip 1.26 kB 1.26 kB
_error-71ec2..1a96.js gzip 3.38 kB 3.38 kB
amp-33a09cb0..6745.js gzip 536 B 536 B
hooks-4e968a..f870.js gzip 902 B 902 B
index-5c6845..f75c.js gzip 230 B 230 B
link-99f0c6c..b84a.js gzip 1.65 kB 1.65 kB
routerDirect..bb56.js gzip 306 B 306 B
withRouter-7..2133.js gzip 302 B 302 B
Overall change 8.57 kB 8.57 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 326 B 326 B
Overall change 326 B 326 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 586 B 586 B
link.html gzip 593 B 593 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "NnJVmUFu2jIF3GSeEVlNn",
+        "buildId": "u55kfQfvzZT0Vluk3P6YL",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_buildManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_ssgManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "NnJVmUFu2jIF3GSeEVlNn",
+        "buildId": "u55kfQfvzZT0Vluk3P6YL",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_buildManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_ssgManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "NnJVmUFu2jIF3GSeEVlNn",
+        "buildId": "u55kfQfvzZT0Vluk3P6YL",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_buildManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/NnJVmUFu2jIF3GSeEVlNn/_ssgManifest.js"
+      src="/_next/static/u55kfQfvzZT0Vluk3P6YL/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: e70769a

@ijjk
Copy link
Member Author

ijjk commented Mar 2, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 11.4s 11.6s ⚠️ +194ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +4.29 kB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 1.982 1.977 0
/ avg req/sec 1261.09 1264.79 +3.7
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.324 1.265 -0.06
/error-in-render avg req/sec 1888.05 1976.22 +88.17
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 612 B 612 B
link.html gzip 619 B 619 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 13.4s 13.5s ⚠️ +129ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +4.29 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
677f882d2ed8..e7a0.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 6.65 kB 6.65 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 59.7 kB 59.7 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-2a09aa2..4a98.js gzip 1.28 kB 1.28 kB
_error-8b758..aef6.js gzip 3.46 kB 3.46 kB
amp-e3e9bc99..932c.js gzip 536 B 536 B
hooks-5023ef..3670.js gzip 888 B 888 B
index-3a2b03..c677.js gzip 227 B 227 B
link-177412b..043e.js gzip 1.67 kB 1.67 kB
routerDirect..1a66.js gzip 303 B 303 B
withRouter-9..1b7d.js gzip 302 B 302 B
Overall change 8.66 kB 8.66 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 347 B 347 B
Overall change 347 B 347 B
Serverless bundles
vercel/next.js canary ijjk/next.js update/chunks-output Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.4 kB 10.4 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary ijjk/next.js update/chunks-output Change
buildDuration 13.4s 13.7s ⚠️ +324ms
nodeModulesSize 42.7 MB 42.7 MB ⚠️ +4.29 kB
Page Load Tests Overall increase ✓
vercel/next.js canary ijjk/next.js update/chunks-output Change
/ failed reqs 0 0
/ total time (seconds) 2.037 1.977 -0.06
/ avg req/sec 1227.29 1264.26 +36.97
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.245 1.224 -0.02
/error-in-render avg req/sec 2008.51 2043.05 +34.54
Client Bundles (main, webpack, commons)
vercel/next.js canary ijjk/next.js update/chunks-output Change
597-74632e79..1d47.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 6.6 kB 6.6 kB
webpack-HASH.js gzip 954 B 954 B
Overall change 60.1 kB 60.1 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary ijjk/next.js update/chunks-output Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary ijjk/next.js update/chunks-output Change
_app-aedc815..1421.js gzip 1.26 kB 1.26 kB
_error-71ec2..1a96.js gzip 3.38 kB 3.38 kB
amp-33a09cb0..6745.js gzip 536 B 536 B
hooks-4e968a..f870.js gzip 902 B 902 B
index-5c6845..f75c.js gzip 230 B 230 B
link-99f0c6c..b84a.js gzip 1.65 kB 1.65 kB
routerDirect..bb56.js gzip 306 B 306 B
withRouter-7..2133.js gzip 302 B 302 B
Overall change 8.57 kB 8.57 kB
Client Build Manifests
vercel/next.js canary ijjk/next.js update/chunks-output Change
_buildManifest.js gzip 326 B 326 B
Overall change 326 B 326 B
Rendered Page Sizes
vercel/next.js canary ijjk/next.js update/chunks-output Change
index.html gzip 586 B 586 B
link.html gzip 593 B 593 B
withRouter.html gzip 581 B 581 B
Overall change 1.76 kB 1.76 kB

Diffs

Diff for index.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "xGHrGkiJUpv0HjCgB_YZF",
+        "buildId": "ybqyLw0BBWzsgneeZSGoQ",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_buildManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_ssgManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "xGHrGkiJUpv0HjCgB_YZF",
+        "buildId": "ybqyLw0BBWzsgneeZSGoQ",
         "isFallback": false,
         "gip": true
       }
@@ -82,11 +82,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_buildManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_ssgManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -43,7 +43,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "xGHrGkiJUpv0HjCgB_YZF",
+        "buildId": "ybqyLw0BBWzsgneeZSGoQ",
         "isFallback": false,
         "gip": true
       }
@@ -77,11 +77,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_buildManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/xGHrGkiJUpv0HjCgB_YZF/_ssgManifest.js"
+      src="/_next/static/ybqyLw0BBWzsgneeZSGoQ/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 2887cd4

Copy link
Member

@sokra sokra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. There are a few test failures, so it might still be missing in some places

@kodiakhq kodiakhq bot merged commit b80fdfb into vercel:canary Mar 3, 2021
@timneutkens timneutkens deleted the update/chunks-output branch March 3, 2021 09:37
@ijjk ijjk added the type: next label Mar 3, 2021
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

webpack 5 dynamic require syntax causes un-necessary files to be traced/included for lambdas
3 participants