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

Use URL-friendly chunk names #8609

Merged
merged 2 commits into from
Sep 3, 2019
Merged

Conversation

Timer
Copy link
Member

@Timer Timer commented Sep 3, 2019

This emits chunks using their hex representation instead of base64 to ensure the names are URL-friendly.

Confirmed via a test ensuring encodeURIComponent doesn't affect the file names in any way.


Fixes #7949

@Timer Timer added this to the 9.0.6 milestone Sep 3, 2019
@ijjk
Copy link
Member

ijjk commented Sep 3, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
buildDuration 24.4s 24s -466ms
nodeModulesSize 42 MB 42 MB -58 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.js 18.3 kB 18.3 kB
main-HASH.js gzip 6.66 kB 6.66 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.39 kB 6.39 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change
Client Pages
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 884 B 884 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 433 B 433 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change
Client Pages Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 840 B 840 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 804 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 429 B
withRouter.module.js gzip 293 B 293 B
Overall change
Client Build Manifests
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 81 B 81 B
_buildManifest.module.js gzip 61 B 61 B
Overall change
Rendered Page Sizes Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
index.html 3.69 kB 3.75 kB ⚠️ +51 B
index.html gzip 956 B 958 B ⚠️ +2 B
link.html 3.74 kB 3.79 kB ⚠️ +51 B
link.html gzip 964 B 966 B ⚠️ +2 B
withRouter.html 3.75 kB 3.8 kB ⚠️ +51 B
withRouter.html gzip 951 B 954 B ⚠️ +3 B
Overall change ⚠️ +153 B

Diffs

Diff for index.html
@@ -6,9 +6,9 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/index.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
@@ -16,9 +16,9 @@
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -26,18 +26,18 @@
         <div id="__next">Hello world 👋</div>
         <script id="__NEXT_DATA__" type="application/json"
         crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"qHM29XAzel6FxH5Nxk0cj"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"VNO_e6Wus0pM6-HCUjAiJ"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/index.js"
+        <script async="" data-next-page="/" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/index.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/index.module.js"
+        <script async="" data-next-page="/" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/index.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -51,15 +51,15 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/j2dstPo9bN0CQU6GyKt7P9B1qMM=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/4c82036ac6661b85b1eb7c023c555605e0f9dd4a.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>
Diff for link.html
@@ -6,19 +6,19 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/link.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -29,18 +29,18 @@
             </div>
         </div>
         <script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"qHM29XAzel6FxH5Nxk0cj"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"VNO_e6Wus0pM6-HCUjAiJ"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/link" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/link.js"
+        <script async="" data-next-page="/link" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/link.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/link" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/link.module.js"
+        <script async="" data-next-page="/link" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/link.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -50,19 +50,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/j2dstPo9bN0CQU6GyKt7P9B1qMM=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/4c82036ac6661b85b1eb7c023c555605e0f9dd4a.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-a1e3a940d5bb499fc0c7.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>
Diff for withRouter.html
@@ -6,19 +6,19 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -27,18 +27,18 @@
             <div>I use withRouter</div>
         </div>
         <script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"qHM29XAzel6FxH5Nxk0cj"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"VNO_e6Wus0pM6-HCUjAiJ"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/withRouter.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/withRouter.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/withRouter.module.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/withRouter.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/qHM29XAzel6FxH5Nxk0cj/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -48,19 +48,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/j2dstPo9bN0CQU6GyKt7P9B1qMM=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/4c82036ac6661b85b1eb7c023c555605e0f9dd4a.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/DqsAmnm61uMVkv2ojfoFkT72ng0=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2379caca5ae270bfa447bcbbbe7cc7729d28346d.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-a1e3a940d5bb499fc0c7.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/qHM29XAzel6FxH5Nxk0cj/_buildManifest.module.js"
+        <script src="/_next/static/VNO_e6Wus0pM6-HCUjAiJ/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
buildDuration 25.1s 25.1s ⚠️ +5ms
nodeModulesSize 42 MB 42 MB -58 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.js 18.3 kB 18.3 kB
main-HASH.js gzip 6.66 kB 6.66 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.39 kB 6.39 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change
Client Pages
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 884 B 884 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 433 B 433 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change
Client Pages Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 840 B 840 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 804 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 429 B
withRouter.module.js gzip 293 B 293 B
Overall change
Client Build Manifests
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 81 B 81 B
_buildManifest.module.js gzip 61 B 61 B
Overall change
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_error.js 247 kB 248 kB ⚠️ +166 B
_error.js gzip 66.3 kB 66.4 kB ⚠️ +192 B
hooks.html 3.81 kB 3.86 kB ⚠️ +50 B
hooks.html gzip 985 B 981 B -4 B
index.js 248 kB 248 kB ⚠️ +166 B
index.js gzip 66.6 kB 66.6 kB ⚠️ +18 B
link.js 256 kB 256 kB ⚠️ +166 B
link.js gzip 68.9 kB 68.9 kB ⚠️ +36 B
routerDirect.js 249 kB 249 kB ⚠️ +166 B
routerDirect.js gzip 66.8 kB 66.9 kB ⚠️ +45 B
withRouter.js 249 kB 249 kB ⚠️ +166 B
withRouter.js gzip 66.6 kB 66.7 kB ⚠️ +63 B
Overall change ⚠️ +880 B

@ijjk
Copy link
Member

ijjk commented Sep 3, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
buildDuration 20.9s 20.8s -105ms
nodeModulesSize 42 MB 42 MB -58 B
Client Bundles (main, webpack, commons) Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.js 18.3 kB 18.2 kB -1 B
main-HASH.js gzip 6.66 kB 6.66 kB -1 B
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change -1 B
Client Bundles (main, webpack, commons) Modern Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.module.js 16.6 kB 16.6 kB -1 B
main-HASH.module.js gzip 6.39 kB 6.39 kB -1 B
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change -1 B
Client Pages Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 884 B 884 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB ⚠️ +1 B
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB ⚠️ +1 B
routerDirect.js 433 B 434 B ⚠️ +1 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change ⚠️ +1 B
Client Pages Modern Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 840 B 840 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 805 B ⚠️ +1 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 430 B ⚠️ +1 B
withRouter.module.js gzip 293 B 293 B
Overall change ⚠️ +1 B
Client Build Manifests
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 81 B 81 B
_buildManifest.module.js gzip 61 B 61 B
Overall change
Rendered Page Sizes Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
index.html 3.7 kB 3.75 kB ⚠️ +48 B
index.html gzip 959 B 960 B ⚠️ +1 B
link.html 3.75 kB 3.79 kB ⚠️ +48 B
link.html gzip 967 B 970 B ⚠️ +3 B
withRouter.html 3.75 kB 3.8 kB ⚠️ +48 B
withRouter.html gzip 954 B 956 B ⚠️ +2 B
Overall change ⚠️ +144 B

Diffs

Diff for index.html
@@ -6,9 +6,9 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/index.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
@@ -16,9 +16,9 @@
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -26,18 +26,18 @@
         <div id="__next">Hello world 👋</div>
         <script id="__NEXT_DATA__" type="application/json"
         crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"l2HuUTRgfdNwO0FFAwHba"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"5RVafFUTGVjeOw6hzIFdo"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/index.js"
+        <script async="" data-next-page="/" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/index.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/index.module.js"
+        <script async="" data-next-page="/" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/index.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -51,15 +51,15 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/TBkxR5LclN6c10ECGJlU5yfzno=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/6f22a353ff480a95972e7b8bd2d6018992a1f54e.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>
Diff for link.html
@@ -6,19 +6,19 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/link.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -29,18 +29,18 @@
             </div>
         </div>
         <script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"l2HuUTRgfdNwO0FFAwHba"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"5RVafFUTGVjeOw6hzIFdo"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/link" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/link.js"
+        <script async="" data-next-page="/link" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/link.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/link" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/link.module.js"
+        <script async="" data-next-page="/link" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/link.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -50,19 +50,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/TBkxR5LclN6c10ECGJlU5yfzno=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/6f22a353ff480a95972e7b8bd2d6018992a1f54e.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-a1e3a940d5bb499fc0c7.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>
Diff for withRouter.html
@@ -6,19 +6,19 @@
         <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"
         />
         <meta name="next-head-count" content="2" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <link rel="preload" href="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -27,18 +27,18 @@
             <div>I use withRouter</div>
         </div>
         <script id="__NEXT_DATA__" type="application/json" crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"l2HuUTRgfdNwO0FFAwHba"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"5RVafFUTGVjeOw6hzIFdo"}
         </script>
         <script crossorigin="anonymous" nomodule="">
             !function(){var e=document,t=e.createElement("script");if(!("noModule"in t)&&"onbeforeload"in t){var n=!1;e.addEventListener("beforeload",function(e){if(e.target===t)n=!0;else if(!e.target.hasAttribute("nomodule")||!n)return;e.preventDefault()},!0),t.type="module",t.src=".",e.head.appendChild(t),t.remove()}}();
         </script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/withRouter.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/withRouter.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/withRouter.module.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/withRouter.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/l2HuUTRgfdNwO0FFAwHba/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/5RVafFUTGVjeOw6hzIFdo/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
@@ -48,19 +48,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/chunks/TBkxR5LclN6c10ECGJlU5yfzno=.155621535702fe040780.js"
+        <script src="/_next/static/chunks/6f22a353ff480a95972e7b8bd2d6018992a1f54e.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.f6f7599a2edf91d8366a.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.f6f7599a2edf91d8366a.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/zMQ1c13hG2oZM2HqIO3f6UTt38g=.c659a74b6088e6ac1abe.module.js"
+        <script src="/_next/static/chunks/2a253008c9024fa38229f4d0885256cbf5aa598e.c659a74b6088e6ac1abe.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-a1e3a940d5bb499fc0c7.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-ea228487a429f03c22be.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/l2HuUTRgfdNwO0FFAwHba/_buildManifest.module.js"
+        <script src="/_next/static/5RVafFUTGVjeOw6hzIFdo/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>

Serverless Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary Timer/next.js url-friendly-chunks Change
buildDuration 21.7s 22s ⚠️ +284ms
nodeModulesSize 42 MB 42 MB -58 B
Client Bundles (main, webpack, commons)
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.js 18.3 kB 18.3 kB
main-HASH.js gzip 6.66 kB 6.66 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.39 kB 6.39 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change
Client Pages
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 884 B 884 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.76 kB 4.76 kB
hooks.js 12.7 kB 12.7 kB
hooks.js gzip 4.81 kB 4.81 kB
index.js 343 B 343 B
index.js gzip 237 B 237 B
link.js 8.14 kB 8.14 kB
link.js gzip 3.49 kB 3.49 kB
routerDirect.js 433 B 433 B
routerDirect.js gzip 296 B 296 B
withRouter.js 444 B 444 B
withRouter.js gzip 294 B 294 B
Overall change
Client Pages Modern
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 840 B 840 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.62 kB 8.62 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 804 B 804 B
index.module.js 319 B 319 B
index.module.js gzip 238 B 238 B
link.module.js 8.52 kB 8.52 kB
link.module.js gzip 3.68 kB 3.68 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 429 B 429 B
withRouter.module.js gzip 293 B 293 B
Overall change
Client Build Manifests
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_buildManifest.js 81 B 81 B
_buildManifest.js gzip 61 B 61 B
_buildManifest.module.js 81 B 81 B
_buildManifest.module.js gzip 61 B 61 B
Overall change
Serverless bundles Overall increase ⚠️
zeit/next.js canary Timer/next.js url-friendly-chunks Change
_error.js 247 kB 248 kB ⚠️ +156 B
_error.js gzip 66.4 kB 66.3 kB -143 B
hooks.html 3.81 kB 3.86 kB ⚠️ +48 B
hooks.html gzip 985 B 985 B
index.js 248 kB 248 kB ⚠️ +156 B
index.js gzip 66.6 kB 66.7 kB ⚠️ +29 B
link.js 256 kB 256 kB ⚠️ +156 B
link.js gzip 68.9 kB 68.9 kB -17 B
routerDirect.js 249 kB 249 kB ⚠️ +156 B
routerDirect.js gzip 66.8 kB 66.7 kB -43 B
withRouter.js 249 kB 249 kB ⚠️ +156 B
withRouter.js gzip 66.7 kB 66.7 kB ⚠️ +48 B
Overall change ⚠️ +828 B

@Timer Timer requested a review from ijjk September 3, 2019 14:54
@Timer Timer merged commit ffc205b into vercel:canary Sep 3, 2019
@Timer Timer deleted the url-friendly-chunks branch September 3, 2019 14:55
@vercel vercel locked as resolved and limited conversation to collaborators Feb 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Next 9] Importing react-dom would bloat the bundle size
2 participants