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 workers for next export #8623

Merged
merged 3 commits into from
Sep 4, 2019
Merged

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Sep 4, 2019

This replaces the custom workers set up with jest-workers to match our other workers usage. It also cleans up the error logging a bit when an export fails.

Relevant links:
https://spectrum.chat/next-js/general/nextjs-9-build-error~d75762f9-2d71-491f-884f-e1d11305b516

@ijjk
Copy link
Member Author

ijjk commented Sep 4, 2019

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
buildDuration 24s 23.7s -377ms
nodeModulesSize 42 MB 42 MB -2.13 kB
Client Bundles (main, webpack, commons) Overall increase ⚠️
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.js 18.2 kB 18.2 kB ⚠️ +1 B
main-HASH.js gzip 6.64 kB 6.64 kB ⚠️ +1 B
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change 19.7 kB 19.7 kB ⚠️ +1 B
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.module.js 16.6 kB 16.6 kB ⚠️ +1 B
main-HASH.module.js gzip 6.38 kB 6.38 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change 18.1 kB 18.1 kB ⚠️ +1 B
Client Pages Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 883 B 883 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.74 kB 4.74 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 -1 B
routerDirect.js 434 B 433 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 36 kB 36 kB -1 B
Client Pages Modern Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 840 B 841 B ⚠️ +1 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.6 kB 8.6 kB
hooks.module.js 1.55 kB 1.55 kB
hooks.module.js gzip 805 B 804 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.67 kB 3.67 kB
routerDirect.module.js 419 B 419 B
routerDirect.module.js gzip 294 B 294 B
withRouter.module.js 430 B 429 B -1 B
withRouter.module.js gzip 293 B 293 B
Overall change 36.2 kB 36.2 kB -1 B
Client Build Manifests
zeit/next.js canary ijjk/next.js update/export-workers 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 162 B 162 B
Rendered Page Sizes
zeit/next.js canary ijjk/next.js update/export-workers Change
index.html 3.75 kB 3.75 kB
index.html gzip 961 B 961 B
link.html 3.79 kB 3.79 kB
link.html gzip 969 B 969 B
withRouter.html 3.8 kB 3.8 kB
withRouter.html gzip 956 B 957 B ⚠️ +1 B
Overall change 11.3 kB 11.3 kB

Diffs

Diff for main-HASH.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[11],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
Diff for main-HASH.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
 
 /***/ "+oT+":
 /***/ (function(module, exports, __webpack_require__) {
Diff for _app.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
 
 /***/ "B5Ud":
 /***/ (function(module, exports, __webpack_require__) {
Diff for _error.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
 
 /***/ "+iuc":
 /***/ (function(module, exports, __webpack_require__) {
Diff for hooks.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
 
 /***/ "+MDD":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for index.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
 
 /***/ "RNiq":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for link.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
Diff for routerDirect.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
 
 /***/ "LtRI":
 /***/ (function(module, exports, __webpack_require__) {
Diff for withRouter.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[11],{
 
 /***/ "0Hlz":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for _app.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[3],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
 
 /***/ "+oT+":
 /***/ (function(module, exports, __webpack_require__) {
Diff for _error.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[4],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
 
 /***/ "+iuc":
 /***/ (function(module, exports, __webpack_require__) {
Diff for hooks.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[5],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
 
 /***/ "+MDD":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for index.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[6],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
 
 /***/ "RNiq":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for link.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[7],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
 
 /***/ "/h46":
 /***/ (function(module, exports, __webpack_require__) {
Diff for routerDirect.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[8],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
 
 /***/ "LtRI":
 /***/ (function(module, exports, __webpack_require__) {
Diff for withRouter.module.js
@@ -1,4 +1,4 @@
-(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[9],{
+(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[10],{
 
 /***/ "0Hlz":
 /***/ (function(module, __webpack_exports__, __webpack_require__) {
Diff for index.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/Pk37K0OGG2Qpoq7vpPDxJ/pages/index.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/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/runtime/main-41b570be350e74cf32cb.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-86cdf7548f9206a07616.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/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
     </head>
     
@@ -26,40 +26,40 @@
         <div id="__next">Hello world 👋</div>
         <script id="__NEXT_DATA__" type="application/json"
         crossorigin="anonymous">
-            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"Pk37K0OGG2Qpoq7vpPDxJ"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"sci0p9EU2fC8ttPH12eav"}
         </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/Pk37K0OGG2Qpoq7vpPDxJ/pages/index.js"
+        <script async="" data-next-page="/" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/index.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/index.module.js"
+        <script async="" data-next-page="/" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/index.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/_app.module.js"
         crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/webpack-a470c2a25bcb4d5a8ec0.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/webpack-7928590be3ef2e55b835.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/runtime/main-b50e91af3fd1d8cb23a4.js"
+        <script src="/_next/static/runtime/main-5aef8c279258ea015ebe.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
+        <script src="/_next/static/runtime/main-86cdf7548f9206a07616.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/chunks/framework.cdb73e402d876d4ac87f.js"
         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/4831afa4b1dd430f5a120fd8ac7e9c05e58cd749.155621535702fe040780.js"
+        <script src="/_next/static/chunks/20716c6841a952b1290b9940a01ed5aaaccd1509.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_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/Pk37K0OGG2Qpoq7vpPDxJ/pages/link.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/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/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-86cdf7548f9206a07616.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/_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":"Pk37K0OGG2Qpoq7vpPDxJ"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"sci0p9EU2fC8ttPH12eav"}
         </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/Pk37K0OGG2Qpoq7vpPDxJ/pages/link.js"
+        <script async="" data-next-page="/link" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/link.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/link" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/link.module.js"
+        <script async="" data-next-page="/link" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/link.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/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/4831afa4b1dd430f5a120fd8ac7e9c05e58cd749.155621535702fe040780.js"
+        <script src="/_next/static/chunks/20716c6841a952b1290b9940a01ed5aaaccd1509.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/runtime/main-b50e91af3fd1d8cb23a4.js"
+        <script src="/_next/static/runtime/main-5aef8c279258ea015ebe.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
+        <script src="/_next/static/runtime/main-86cdf7548f9206a07616.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_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/Pk37K0OGG2Qpoq7vpPDxJ/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/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/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-86cdf7548f9206a07616.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/sci0p9EU2fC8ttPH12eav/_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":"Pk37K0OGG2Qpoq7vpPDxJ"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"sci0p9EU2fC8ttPH12eav"}
         </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/Pk37K0OGG2Qpoq7vpPDxJ/pages/withRouter.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/withRouter.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/withRouter.module.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/withRouter.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/sci0p9EU2fC8ttPH12eav/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/4831afa4b1dd430f5a120fd8ac7e9c05e58cd749.155621535702fe040780.js"
+        <script src="/_next/static/chunks/20716c6841a952b1290b9940a01ed5aaaccd1509.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/2b57a4c3300d07b3697cc8faf7b245048e26a04e.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/05f18df01e836e899ceb7c6dee53ee83f587caf8.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/runtime/main-b50e91af3fd1d8cb23a4.js"
+        <script src="/_next/static/runtime/main-5aef8c279258ea015ebe.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
+        <script src="/_next/static/runtime/main-86cdf7548f9206a07616.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Pk37K0OGG2Qpoq7vpPDxJ/_buildManifest.module.js"
+        <script src="/_next/static/sci0p9EU2fC8ttPH12eav/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
buildDuration 24.4s 25.4s ⚠️ +906ms
nodeModulesSize 42 MB 42 MB -2.13 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.js 18.2 kB 18.2 kB
main-HASH.js gzip 6.64 kB 6.64 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
Overall change 19.7 kB 19.7 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.38 kB 6.38 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
Overall change 18.1 kB 18.1 kB
Client Pages
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 883 B 883 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.74 kB 4.74 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 36 kB 36 kB
Client Pages Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 841 B 841 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.6 kB 8.6 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.67 kB 3.67 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 36.2 kB 36.2 kB
Client Build Manifests
zeit/next.js canary ijjk/next.js update/export-workers 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 162 B 162 B
Serverless bundles
zeit/next.js canary ijjk/next.js update/export-workers Change
_error.js 247 kB 247 kB
_error.js gzip 66.2 kB 66.2 kB -11 B
hooks.html 3.86 kB 3.86 kB
hooks.html gzip 983 B 987 B ⚠️ +4 B
index.js 248 kB 248 kB
index.js gzip 66.5 kB 66.5 kB -10 B
link.js 255 kB 255 kB
link.js gzip 68.4 kB 68.5 kB ⚠️ +74 B
routerDirect.js 249 kB 249 kB
routerDirect.js gzip 66.5 kB 66.5 kB ⚠️ +29 B
withRouter.js 249 kB 249 kB
withRouter.js gzip 66.6 kB 66.5 kB -37 B
Overall change 1.25 MB 1.25 MB

Copy link
Member

@Timer Timer left a comment

Choose a reason for hiding this comment

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

I trust you that this works if tests are passing -- LGTM.

@ijjk
Copy link
Member Author

ijjk commented Sep 4, 2019

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
buildDuration 21.5s 21.1s -415ms
nodeModulesSize 42 MB 42 MB -2.13 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.js 18.2 kB 18.2 kB
main-HASH.js gzip 6.64 kB 6.64 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
ac975975dc99f91d4025306db4f9fbbeb55e71f3.1f064d5355d2b8407376.js 21.9 kB N/A N/A
ac975975dc99f91d4025306db4f9fbbeb55e71f3.1f064d5355d2b8407376.js gzip 7.81 kB N/A N/A
d4a8e85eff5fe8594e2cbaa88dc21ff0e650afaf.e2c00d0314f283e7a4a0.js 42.9 kB N/A N/A
d4a8e85eff5fe8594e2cbaa88dc21ff0e650afaf.e2c00d0314f283e7a4a0.js gzip 15.4 kB N/A N/A
framework.5b4f940f1eadbaff70d3.js 125 kB 125 kB
framework.5b4f940f1eadbaff70d3.js gzip 39.4 kB 39.4 kB
ae20092eadbf794520a2ace35a3ebfc239534c56.1f064d5355d2b8407376.js N/A 21.9 kB N/A
ae20092eadbf794520a2ace35a3ebfc239534c56.1f064d5355d2b8407376.js gzip N/A 7.81 kB N/A
b3831c754a0a9b859f2f6703b2bec3c0705d5044.e2c00d0314f283e7a4a0.js N/A 42.9 kB N/A
b3831c754a0a9b859f2f6703b2bec3c0705d5044.e2c00d0314f283e7a4a0.js gzip N/A 15.4 kB N/A
Overall change 210 kB 210 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.38 kB 6.38 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
d4a8e85eff5fe8594e2cbaa88dc21ff0e650afaf.36c6b20a7d953b3f28f0.module.js 45.5 kB N/A N/A
d4a8e85eff5fe8594e2cbaa88dc21ff0e650afaf.36c6b20a7d953b3f28f0.module.js gzip 16.5 kB N/A N/A
framework.5b4f940f1eadbaff70d3.module.js 125 kB 125 kB
framework.5b4f940f1eadbaff70d3.module.js gzip 39.4 kB 39.4 kB
b3831c754a0a9b859f2f6703b2bec3c0705d5044.36c6b20a7d953b3f28f0.module.js N/A 45.5 kB N/A
b3831c754a0a9b859f2f6703b2bec3c0705d5044.36c6b20a7d953b3f28f0.module.js gzip N/A 16.5 kB N/A
Overall change 189 kB 189 kB
Client Pages
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 883 B 883 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.74 kB 4.74 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 36 kB 36 kB
Client Pages Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 841 B 841 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.6 kB 8.6 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.67 kB 3.67 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 36.2 kB 36.2 kB
Client Build Manifests
zeit/next.js canary ijjk/next.js update/export-workers 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 162 B 162 B
Rendered Page Sizes
zeit/next.js canary ijjk/next.js update/export-workers Change
index.html 3.75 kB 3.75 kB
index.html gzip 956 B 960 B ⚠️ +4 B
link.html 3.79 kB 3.79 kB
link.html gzip 965 B 968 B ⚠️ +3 B
withRouter.html 3.8 kB 3.8 kB
withRouter.html gzip 952 B 956 B ⚠️ +4 B
Overall change 11.3 kB 11.3 kB

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/Mn5c4U7WiaseKP3Y2--dA/pages/index.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/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/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/_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":"Mn5c4U7WiaseKP3Y2--dA"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/","query":{},"buildId":"_csdwBgTf5xwaoufP4Zit"}
         </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/Mn5c4U7WiaseKP3Y2--dA/pages/index.js"
+        <script async="" data-next-page="/" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/index.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/index.module.js"
+        <script async="" data-next-page="/" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/index.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/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/d1396654404c872827a28543c9024d6b703509a7.155621535702fe040780.js"
+        <script src="/_next/static/chunks/63299510852f49c9e59dd84f12a6883bd428a795.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_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/Mn5c4U7WiaseKP3Y2--dA/pages/link.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/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/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/_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":"Mn5c4U7WiaseKP3Y2--dA"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/link","query":{},"buildId":"_csdwBgTf5xwaoufP4Zit"}
         </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/Mn5c4U7WiaseKP3Y2--dA/pages/link.js"
+        <script async="" data-next-page="/link" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/link.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/link" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/link.module.js"
+        <script async="" data-next-page="/link" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/link.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/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/d1396654404c872827a28543c9024d6b703509a7.155621535702fe040780.js"
+        <script src="/_next/static/chunks/63299510852f49c9e59dd84f12a6883bd428a795.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-b50e91af3fd1d8cb23a4.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_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/Mn5c4U7WiaseKP3Y2--dA/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/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/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/_csdwBgTf5xwaoufP4Zit/_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":"Mn5c4U7WiaseKP3Y2--dA"}
+            {"dataManager":"[]","props":{"pageProps":{}},"page":"/withRouter","query":{},"buildId":"_csdwBgTf5xwaoufP4Zit"}
         </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/Mn5c4U7WiaseKP3Y2--dA/pages/withRouter.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/withRouter.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/withRouter" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/withRouter.module.js"
+        <script async="" data-next-page="/withRouter" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/withRouter.module.js"
         crossorigin="anonymous" type="module"></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/pages/_app.js"
         crossorigin="anonymous" nomodule=""></script>
-        <script async="" data-next-page="/_app" src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/pages/_app.module.js"
+        <script async="" data-next-page="/_app" src="/_next/static/_csdwBgTf5xwaoufP4Zit/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/d1396654404c872827a28543c9024d6b703509a7.155621535702fe040780.js"
+        <script src="/_next/static/chunks/63299510852f49c9e59dd84f12a6883bd428a795.155621535702fe040780.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.474e0ebc58bce106266f.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.474e0ebc58bce106266f.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/chunks/174ef88c7bba37d18e279741499f5c039b6e4dac.85e4c18b9e4b400e5496.module.js"
+        <script src="/_next/static/chunks/d6a8f02146c3c387f2d9d7f01d51ee5ad10b0e79.85e4c18b9e4b400e5496.module.js"
         async="" crossorigin="anonymous" type="module"></script>
         <script src="/_next/static/runtime/main-b50e91af3fd1d8cb23a4.js"
         async="" crossorigin="anonymous" nomodule=""></script>
         <script src="/_next/static/runtime/main-41b570be350e74cf32cb.module.js"
         async="" crossorigin="anonymous" type="module"></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_buildManifest.js"
         async="" crossorigin="anonymous" nomodule=""></script>
-        <script src="/_next/static/Mn5c4U7WiaseKP3Y2--dA/_buildManifest.module.js"
+        <script src="/_next/static/_csdwBgTf5xwaoufP4Zit/_buildManifest.module.js"
         async="" crossorigin="anonymous" type="module"></script>
     </body>

Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
zeit/next.js canary ijjk/next.js update/export-workers Change
buildDuration 22.4s 21.8s -648ms
nodeModulesSize 42 MB 42 MB -2.13 kB
Client Bundles (main, webpack, commons)
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.js 18.2 kB 18.2 kB
main-HASH.js gzip 6.64 kB 6.64 kB
webpack-HASH.js 1.53 kB 1.53 kB
webpack-HASH.js gzip 746 B 746 B
403bc852f7ba58b833ae5997dbdefe946784115f.e2c00d0314f283e7a4a0.js 42.9 kB N/A N/A
403bc852f7ba58b833ae5997dbdefe946784115f.e2c00d0314f283e7a4a0.js gzip 15.4 kB N/A N/A
6d1baeb6124feef55c003ace3d4fa7a27cc0268d.1f064d5355d2b8407376.js 21.9 kB N/A N/A
6d1baeb6124feef55c003ace3d4fa7a27cc0268d.1f064d5355d2b8407376.js gzip 7.81 kB N/A N/A
framework.5b4f940f1eadbaff70d3.js 125 kB 125 kB
framework.5b4f940f1eadbaff70d3.js gzip 39.4 kB 39.4 kB
e6bd9abd01042ac8143976a2a833165ee6ccf8fa.e2c00d0314f283e7a4a0.js N/A 42.9 kB N/A
e6bd9abd01042ac8143976a2a833165ee6ccf8fa.e2c00d0314f283e7a4a0.js gzip N/A 15.4 kB N/A
ebfb74e087b9a0e4da433307598f02c6a62d9a17.1f064d5355d2b8407376.js N/A 21.9 kB N/A
ebfb74e087b9a0e4da433307598f02c6a62d9a17.1f064d5355d2b8407376.js gzip N/A 7.81 kB N/A
Overall change 210 kB 210 kB
Client Bundles (main, webpack, commons) Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
main-HASH.module.js 16.6 kB 16.6 kB
main-HASH.module.js gzip 6.38 kB 6.38 kB
webpack-HASH.module.js 1.53 kB 1.53 kB
webpack-HASH.module.js gzip 746 B 746 B
403bc852f7ba58b833ae5997dbdefe946784115f.36c6b20a7d953b3f28f0.module.js 45.5 kB N/A N/A
403bc852f7ba58b833ae5997dbdefe946784115f.36c6b20a7d953b3f28f0.module.js gzip 16.5 kB N/A N/A
framework.5b4f940f1eadbaff70d3.module.js 125 kB 125 kB
framework.5b4f940f1eadbaff70d3.module.js gzip 39.4 kB 39.4 kB
e6bd9abd01042ac8143976a2a833165ee6ccf8fa.36c6b20a7d953b3f28f0.module.js N/A 45.5 kB N/A
e6bd9abd01042ac8143976a2a833165ee6ccf8fa.36c6b20a7d953b3f28f0.module.js gzip N/A 16.5 kB N/A
Overall change 189 kB 189 kB
Client Pages
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.js 1.83 kB 1.83 kB
_app.js gzip 883 B 883 B
_error.js 12.1 kB 12.1 kB
_error.js gzip 4.74 kB 4.74 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 36 kB 36 kB
Client Pages Modern
zeit/next.js canary ijjk/next.js update/export-workers Change
_app.module.js 1.73 kB 1.73 kB
_app.module.js gzip 841 B 841 B
_error.module.js 23.3 kB 23.3 kB
_error.module.js gzip 8.6 kB 8.6 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.67 kB 3.67 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 36.2 kB 36.2 kB
Client Build Manifests
zeit/next.js canary ijjk/next.js update/export-workers 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 162 B 162 B
Serverless bundles
zeit/next.js canary ijjk/next.js update/export-workers Change
_error.js 247 kB 247 kB
_error.js gzip 66.2 kB 66.1 kB -38 B
hooks.html 3.86 kB 3.86 kB
hooks.html gzip 986 B 989 B ⚠️ +3 B
index.js 248 kB 248 kB
index.js gzip 66.4 kB 66.5 kB ⚠️ +98 B
link.js 255 kB 255 kB
link.js gzip 68.6 kB 68.6 kB -53 B
routerDirect.js 249 kB 249 kB
routerDirect.js gzip 66.5 kB 66.5 kB -9 B
withRouter.js 249 kB 249 kB
withRouter.js gzip 66.6 kB 66.5 kB -38 B
Overall change 1.25 MB 1.25 MB

@Timer Timer merged commit 61b8b73 into vercel:canary Sep 4, 2019
@huv1k huv1k added this to the 9.0.6 milestone Sep 5, 2019
@ijjk ijjk deleted the update/export-workers branch October 2, 2019 13:22
@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.

3 participants