text:
Update pages-loader to return one value

As metioned by @timneutkens, we only need to return the mod here

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
22.1s
21.6s
-466ms

nodeModulesSize
42 MB
42 MB
⚠ +4 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-21 B

main-HASH.js gzip
6.64 kB
6.65 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

f19ba9d9c079246737d41f3d64a781b228be8151.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

f19ba9d9c079246737d41f3d64a781b228be8151.e2c00d0314f283e7a4a0.js gzip
15.4 kB
N/A
N/A

f99d4cf543cde08e27fc727f6309c169ace7731c.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

f99d4cf543cde08e27fc727f6309c169ace7731c.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
✓

03c015ba16866fefc996aa79630fd2f0b7768be1.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

03c015ba16866fefc996aa79630fd2f0b7768be1.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

97042b0acdc7bb58db46e90472494e32c321833d.e2c00d0314f283e7a4a0.js
N/A
42.9 kB
N/A

97042b0acdc7bb58db46e90472494e32c321833d.e2c00d0314f283e7a4a0.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-16 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

f19ba9d9c079246737d41f3d64a781b228be8151.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

f19ba9d9c079246737d41f3d64a781b228be8151.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
✓

97042b0acdc7bb58db46e90472494e32c321833d.36c6b20a7d953b3f28f0.module.js
N/A
45.5 kB
N/A

97042b0acdc7bb58db46e90472494e32c321833d.36c6b20a7d953b3f28f0.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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/pages-loader
Change

index.html
3.75 kB
3.75 kB
✓

index.html gzip
961 B
963 B
⚠ +2 B

link.html
3.79 kB
3.79 kB
✓

link.html gzip
969 B
970 B
⚠ +1 B

withRouter.html
3.8 kB
3.8 kB
✓

withRouter.html gzip
956 B
958 B
⚠ +2 B

Overall change
11.3 kB
11.3 kB
✓

Diffs

Diff for main-HASH.js
@@ -1592,19 +1592,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1466,18 +1466,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

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/f81eeNQapDBYoRgfJunjy/pages/index.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/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-a4d17bae730952bcdd59.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/b62b7aef049a4daf6a93267d84eb5fa7b0988e60.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/675dc546479e8c4ce9452c252a0d3bd80eb81878.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -26,40 +26,40 @@

Hello world 👋

-
-
-
-

-
-

-
-
-
-
-

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/f81eeNQapDBYoRgfJunjy/pages/link.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/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/b62b7aef049a4daf6a93267d84eb5fa7b0988e60.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/675dc546479e8c4ce9452c252a0d3bd80eb81878.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-a4d17bae730952bcdd59.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -29,18 +29,18 @@

-
-
-
-

@@ -50,19 +50,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

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/f81eeNQapDBYoRgfJunjy/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/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/b62b7aef049a4daf6a93267d84eb5fa7b0988e60.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/675dc546479e8c4ce9452c252a0d3bd80eb81878.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-a4d17bae730952bcdd59.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/f81eeNQapDBYoRgfJunjy/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/Vvjxl1gqbxJ6vwdGd6g8y/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -27,18 +27,18 @@

I use withRouter

-
-
-
-

@@ -48,19 +48,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
22.2s
22.7s
⚠ +490ms

nodeModulesSize
42 MB
42 MB
⚠ +4 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-21 B

main-HASH.js gzip
6.64 kB
6.65 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

1ca161f58bf875e1b6dc17f0f4a82c1b1c536ddf.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

1ca161f58bf875e1b6dc17f0f4a82c1b1c536ddf.e2c00d0314f283e7a4a0.js gzip
15.4 kB
N/A
N/A

d5796b64a6dec88dd449806d2e35fccd858688c4.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

d5796b64a6dec88dd449806d2e35fccd858688c4.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
✓

a9134376b88c27bc22e099ea64d61da7ae10db3e.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

a9134376b88c27bc22e099ea64d61da7ae10db3e.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

d35d475f5f6e3c0e9b6e6b9bed56f4755213cb89.e2c00d0314f283e7a4a0.js
N/A
42.9 kB
N/A

d35d475f5f6e3c0e9b6e6b9bed56f4755213cb89.e2c00d0314f283e7a4a0.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-16 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

1ca161f58bf875e1b6dc17f0f4a82c1b1c536ddf.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

1ca161f58bf875e1b6dc17f0f4a82c1b1c536ddf.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
✓

d35d475f5f6e3c0e9b6e6b9bed56f4755213cb89.36c6b20a7d953b3f28f0.module.js
N/A
45.5 kB
N/A

d35d475f5f6e3c0e9b6e6b9bed56f4755213cb89.36c6b20a7d953b3f28f0.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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/pages-loader
Change

_error.js
247 kB
247 kB
✓

_error.js gzip
66.2 kB
66.2 kB
⚠ +26 B

hooks.html
3.86 kB
3.86 kB
✓

hooks.html gzip
989 B
980 B
-9 B

index.js
248 kB
248 kB
✓

index.js gzip
66.4 kB
66.5 kB
⚠ +13 B

link.js
255 kB
255 kB
✓

link.js gzip
68.6 kB
68.5 kB
-20 B

routerDirect.js
249 kB
249 kB
✓

routerDirect.js gzip
66.6 kB
66.5 kB
-109 B

withRouter.js
249 kB
249 kB
✓

withRouter.js gzip
66.5 kB
66.5 kB
⚠ +43 B

Overall change
1.25 MB
1.25 MB
✓

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.1s
20.8s
-278ms

nodeModulesSize
42 MB
42 MB
⚠ +4 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-21 B

main-HASH.js gzip
6.64 kB
6.65 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

7273a7c7a1c61555d8c1ea490300b278701b0dd0.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

7273a7c7a1c61555d8c1ea490300b278701b0dd0.1f064d5355d2b8407376.js gzip
7.81 kB
N/A
N/A

ee407be102971cb9270ed4cc7bba282449ed7ded.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

ee407be102971cb9270ed4cc7bba282449ed7ded.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
✓

6d860e35fffeae76e8caea32c638045ce0bf86c2.e2c00d0314f283e7a4a0.js
N/A
42.9 kB
N/A

6d860e35fffeae76e8caea32c638045ce0bf86c2.e2c00d0314f283e7a4a0.js gzip
N/A
15.4 kB
N/A

b574f8e56b01f95b57ce03f3bb1ff2aef41f6bec.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

b574f8e56b01f95b57ce03f3bb1ff2aef41f6bec.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-16 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

ee407be102971cb9270ed4cc7bba282449ed7ded.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

ee407be102971cb9270ed4cc7bba282449ed7ded.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
✓

6d860e35fffeae76e8caea32c638045ce0bf86c2.36c6b20a7d953b3f28f0.module.js
N/A
45.5 kB
N/A

6d860e35fffeae76e8caea32c638045ce0bf86c2.36c6b20a7d953b3f28f0.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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/pages-loader
Change

index.html
3.75 kB
3.75 kB
✓

index.html gzip
960 B
958 B
-2 B

link.html
3.79 kB
3.79 kB
✓

link.html gzip
969 B
967 B
-2 B

withRouter.html
3.8 kB
3.8 kB
✓

withRouter.html gzip
955 B
954 B
-1 B

Overall change
11.3 kB
11.3 kB
✓

Diffs

Diff for main-HASH.js
@@ -1592,19 +1592,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1466,18 +1466,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

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/fs1OZgEHPlfzB1euIrubY/pages/index.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/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-a4d17bae730952bcdd59.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/0f157703ca5e1975dd3f9b6e3d41cec2963cb97e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/8958ae5c872524d389373ce3fa86cd26966be846.85e4c18b9e4b400e5496.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -26,40 +26,40 @@

Hello world 👋

-
-
-
-

-
-

-
-
-
-
-

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/fs1OZgEHPlfzB1euIrubY/pages/link.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/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/0f157703ca5e1975dd3f9b6e3d41cec2963cb97e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/8958ae5c872524d389373ce3fa86cd26966be846.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-a4d17bae730952bcdd59.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -29,18 +29,18 @@

-
-
-
-

@@ -50,19 +50,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

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/fs1OZgEHPlfzB1euIrubY/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/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/0f157703ca5e1975dd3f9b6e3d41cec2963cb97e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/8958ae5c872524d389373ce3fa86cd26966be846.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-a4d17bae730952bcdd59.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/fs1OZgEHPlfzB1euIrubY/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/FsuImEOYQl6WvZEKDYnhd/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -27,18 +27,18 @@

I use withRouter

-
-
-
-

@@ -48,19 +48,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.3s
21s
-282ms

nodeModulesSize
42 MB
42 MB
⚠ +4 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-21 B

main-HASH.js gzip
6.64 kB
6.65 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

0b9c4090fb220e328c9651189d4dbf603b0d832b.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

0b9c4090fb220e328c9651189d4dbf603b0d832b.1f064d5355d2b8407376.js gzip
7.81 kB
N/A
N/A

e7dc15d5ee88cff3bb39449b104a40519998dbf8.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

e7dc15d5ee88cff3bb39449b104a40519998dbf8.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
✓

614ada58a2ed02f7c22e6d496bb1f5e3e7767090.e2c00d0314f283e7a4a0.js
N/A
42.9 kB
N/A

614ada58a2ed02f7c22e6d496bb1f5e3e7767090.e2c00d0314f283e7a4a0.js gzip
N/A
15.4 kB
N/A

9adf8b109b2d0878b9ddcbd54475f68ad49267b8.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

9adf8b109b2d0878b9ddcbd54475f68ad49267b8.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-16 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

e7dc15d5ee88cff3bb39449b104a40519998dbf8.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

e7dc15d5ee88cff3bb39449b104a40519998dbf8.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
✓

614ada58a2ed02f7c22e6d496bb1f5e3e7767090.36c6b20a7d953b3f28f0.module.js
N/A
45.5 kB
N/A

614ada58a2ed02f7c22e6d496bb1f5e3e7767090.36c6b20a7d953b3f28f0.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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/pages-loader
Change

_error.js
247 kB
247 kB
✓

_error.js gzip
66.1 kB
66.2 kB
⚠ +49 B

hooks.html
3.86 kB
3.86 kB
✓

hooks.html gzip
989 B
986 B
-3 B

index.js
248 kB
248 kB
✓

index.js gzip
66.5 kB
66.5 kB
✓

link.js
255 kB
255 kB
✓

link.js gzip
68.5 kB
68.6 kB
⚠ +62 B

routerDirect.js
249 kB
249 kB
✓

routerDirect.js gzip
66.5 kB
66.5 kB
-36 B

withRouter.js
249 kB
249 kB
✓

withRouter.js gzip
66.6 kB
66.6 kB
⚠ +9 B

Overall change
1.25 MB
1.25 MB
✓

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
20.8s
20.3s
-540ms

nodeModulesSize
42 MB
42 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-21 B

main-HASH.js gzip
6.64 kB
6.64 kB
⚠ +3 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

02e96bea6002b1e7e3b7ff1582e5e44afbb10312.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

02e96bea6002b1e7e3b7ff1582e5e44afbb10312.1f064d5355d2b8407376.js gzip
7.81 kB
N/A
N/A

aa9e83ee4e27f4e074dbf2c0f4226f75c972a446.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

aa9e83ee4e27f4e074dbf2c0f4226f75c972a446.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
✓

07ce4002a054bad2ca1fe42e6f85b3f285920332.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

07ce4002a054bad2ca1fe42e6f85b3f285920332.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

7d12ff410d2b5f204e647412fef88f2cbdf5f5eb.f25284f1b3c43dcf0c13.js
N/A
42.9 kB
N/A

7d12ff410d2b5f204e647412fef88f2cbdf5f5eb.f25284f1b3c43dcf0c13.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-16 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

aa9e83ee4e27f4e074dbf2c0f4226f75c972a446.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

aa9e83ee4e27f4e074dbf2c0f4226f75c972a446.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
✓

7d12ff410d2b5f204e647412fef88f2cbdf5f5eb.cf6d931f31c40199c75f.module.js
N/A
45.5 kB
N/A

7d12ff410d2b5f204e647412fef88f2cbdf5f5eb.cf6d931f31c40199c75f.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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/pages-loader
Change

index.html
3.75 kB
3.75 kB
✓

index.html gzip
958 B
960 B
⚠ +2 B

link.html
3.79 kB
3.79 kB
✓

link.html gzip
966 B
968 B
⚠ +2 B

withRouter.html
3.8 kB
3.8 kB
✓

withRouter.html gzip
954 B
955 B
⚠ +1 B

Overall change
11.3 kB
11.3 kB
✓

Diffs

Diff for main-HASH.js
@@ -1592,19 +1592,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1466,18 +1466,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

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/p7_J87W0DtMxO4CAxEmE7/pages/index.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/pages/index.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/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-e3367c6cc0a826287f74.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-92ec30fa72713e11d3f8.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/ffa04990267bd9c3196713452ab399b827611a5e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/911d5a77a22ff0c372fad4bd041155b4fbc95719.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -26,40 +26,40 @@

Hello world 👋

-
-
-
-

-
-

-
-
-
-
-

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/p7_J87W0DtMxO4CAxEmE7/pages/link.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/pages/link.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/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/ffa04990267bd9c3196713452ab399b827611a5e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/911d5a77a22ff0c372fad4bd041155b4fbc95719.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-e3367c6cc0a826287f74.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-92ec30fa72713e11d3f8.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -29,18 +29,18 @@

-
-
-
-

@@ -50,19 +50,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

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/p7_J87W0DtMxO4CAxEmE7/pages/withRouter.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/pages/withRouter.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/pages/_app.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/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/ffa04990267bd9c3196713452ab399b827611a5e.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/911d5a77a22ff0c372fad4bd041155b4fbc95719.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-e3367c6cc0a826287f74.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-92ec30fa72713e11d3f8.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/p7_J87W0DtMxO4CAxEmE7/_buildManifest.module.js"
+        <link rel="preload" href="/_next/static/iJ-OhyXGH5qWcKR-4vhzD/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />

@@ -27,18 +27,18 @@

I use withRouter

-
-
-
-

@@ -48,19 +48,19 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-
-
-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.2s
21.1s
-150ms

nodeModulesSize
42 MB
42 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.2 kB
18.2 kB
-20 B

main-HASH.js gzip
6.64 kB
6.64 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

0ccaa0591816d7729904be5f82d9ecd305afdf96.e2c00d0314f283e7a4a0.js
42.9 kB
N/A
N/A

0ccaa0591816d7729904be5f82d9ecd305afdf96.e2c00d0314f283e7a4a0.js gzip
15.4 kB
N/A
N/A

3325c5131096668f19e242d97fb789664f2a4517.1f064d5355d2b8407376.js
21.9 kB
N/A
N/A

3325c5131096668f19e242d97fb789664f2a4517.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
✓

7127ca0f12410e1e57e604b1cddd1d0842d862ff.1f064d5355d2b8407376.js
N/A
21.9 kB
N/A

7127ca0f12410e1e57e604b1cddd1d0842d862ff.1f064d5355d2b8407376.js gzip
N/A
7.81 kB
N/A

ceafb22c175d86e052c921c4d28983d97752a59f.f25284f1b3c43dcf0c13.js
N/A
42.9 kB
N/A

ceafb22c175d86e052c921c4d28983d97752a59f.f25284f1b3c43dcf0c13.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-20 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.5 kB
-15 B

main-HASH.module.js gzip
6.38 kB
6.39 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH.module.js gzip
746 B
746 B
✓

0ccaa0591816d7729904be5f82d9ecd305afdf96.36c6b20a7d953b3f28f0.module.js
45.5 kB
N/A
N/A

0ccaa0591816d7729904be5f82d9ecd305afdf96.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
✓

ceafb22c175d86e052c921c4d28983d97752a59f.cf6d931f31c40199c75f.module.js
N/A
45.5 kB
N/A

ceafb22c175d86e052c921c4d28983d97752a59f.cf6d931f31c40199c75f.module.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-15 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-16 B

routerDirect.js
434 B
408 B
-26 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-176 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
840 B
832 B
-8 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
805 B
793 B
-12 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect.module.js gzip
294 B
281 B
-13 B

withRouter.module.js
430 B
404 B
-26 B

withRouter.module.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-176 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
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 Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_error.js
247 kB
247 kB
⚠ +36 B

_error.js gzip
66.2 kB
66.2 kB
⚠ +11 B

hooks.html
3.86 kB
3.86 kB
✓

hooks.html gzip
986 B
986 B
✓

index.js
248 kB
248 kB
⚠ +31 B

index.js gzip
66.5 kB
66.6 kB
⚠ +85 B

link.js
255 kB
256 kB
⚠ +31 B

link.js gzip
68.5 kB
68.5 kB
-30 B

routerDirect.js
249 kB
249 kB
⚠ +31 B

routerDirect.js gzip
66.6 kB
66.6 kB
-18 B

withRouter.js
249 kB
249 kB
⚠ +31 B

withRouter.js gzip
66.6 kB
66.6 kB
⚠ +1 B

Overall change
1.25 MB
1.25 MB
⚠ +160 B

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
22.3s
22.3s
-24ms

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Rendered Page Sizes

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

index.html
3.62 kB
3.62 kB
✓

index.html gzip
947 B
945 B
-2 B

link.html
3.66 kB
3.66 kB
✓

link.html gzip
956 B
953 B
-3 B

withRouter.html
3.67 kB
3.67 kB
✓

withRouter.html gzip
943 B
941 B
-2 B

Overall change
10.9 kB
10.9 kB
✓

Diffs

Diff for main-HASH.js
@@ -1595,19 +1595,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1469,18 +1469,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.html
@@ -12,11 +12,11 @@
         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-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -43,9 +43,9 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-

@@ -53,9 +53,9 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-

Diff for link.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -52,13 +52,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Diff for withRouter.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -50,13 +50,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.7s
22.1s
⚠ +352ms

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Serverless bundles Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_error.js
247 kB
247 kB
⚠ +36 B

_error.js gzip
66.1 kB
66.2 kB
⚠ +7 B

hooks.html
3.73 kB
3.73 kB
✓

hooks.html gzip
973 B
972 B
-1 B

index.js
248 kB
248 kB
⚠ +36 B

index.js gzip
66.5 kB
66.5 kB
⚠ +10 B

link.js
255 kB
255 kB
⚠ +36 B

link.js gzip
68.5 kB
68.5 kB
⚠ +6 B

routerDirect.js
249 kB
249 kB
⚠ +36 B

routerDirect.js gzip
66.5 kB
66.5 kB
⚠ +10 B

withRouter.js
248 kB
248 kB
⚠ +36 B

withRouter.js gzip
66.6 kB
66.6 kB
⚠ +9 B

Overall change
1.25 MB
1.25 MB
⚠ +180 B

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.7s
21.8s
⚠ +25ms

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Rendered Page Sizes

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

index.html
3.62 kB
3.62 kB
✓

index.html gzip
947 B
945 B
-2 B

link.html
3.66 kB
3.66 kB
✓

link.html gzip
956 B
953 B
-3 B

withRouter.html
3.67 kB
3.67 kB
✓

withRouter.html gzip
943 B
941 B
-2 B

Overall change
10.9 kB
10.9 kB
✓

Diffs

Diff for main-HASH.js
@@ -1595,19 +1595,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1469,18 +1469,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.html
@@ -12,11 +12,11 @@
         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-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -43,9 +43,9 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-

@@ -53,9 +53,9 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-

Diff for link.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -52,13 +52,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Diff for withRouter.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -50,13 +50,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
21.5s
21.6s
⚠ +162ms

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Serverless bundles Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_error.js
247 kB
247 kB
⚠ +36 B

_error.js gzip
66.1 kB
66.2 kB
⚠ +7 B

hooks.html
3.73 kB
3.73 kB
✓

hooks.html gzip
973 B
972 B
-1 B

index.js
248 kB
248 kB
⚠ +36 B

index.js gzip
66.5 kB
66.5 kB
⚠ +10 B

link.js
255 kB
255 kB
⚠ +36 B

link.js gzip
68.5 kB
68.5 kB
⚠ +6 B

routerDirect.js
249 kB
249 kB
⚠ +36 B

routerDirect.js gzip
66.5 kB
66.5 kB
⚠ +10 B

withRouter.js
248 kB
248 kB
⚠ +36 B

withRouter.js gzip
66.6 kB
66.6 kB
⚠ +9 B

Overall change
1.25 MB
1.25 MB
⚠ +180 B

Stats from current PR

Default Server Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
22.8s
25.5s
⚠ +2.7s

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Rendered Page Sizes

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

index.html
3.62 kB
3.62 kB
✓

index.html gzip
947 B
945 B
-2 B

link.html
3.66 kB
3.66 kB
✓

link.html gzip
956 B
953 B
-3 B

withRouter.html
3.67 kB
3.67 kB
✓

withRouter.html gzip
943 B
941 B
-2 B

Overall change
10.9 kB
10.9 kB
✓

Diffs

Diff for main-HASH.js
@@ -1595,19 +1595,14 @@ function () {

       var register = function register() {
         try {
-          var _regFn = regFn(),
-              error = _regFn.error,
-              page = _regFn.page;
-
-          _this5.pageCache[route] = {
-            error: error,
-            page: page
+          var mod = regFn();
+          var pageData = {
+            page: mod["default"] || mod,
+            mod: mod
           };
+          _this5.pageCache[route] = pageData;

-          _this5.pageRegisterEvents.emit(route, {
-            error: error,
-            page: page
-          });
+          _this5.pageRegisterEvents.emit(route, pageData);
         } catch (error) {
           _this5.pageCache[route] = {
             error: error

Diff for main-HASH.module.js
@@ -1469,18 +1469,13 @@ class PageLoader {
   registerPage(route, regFn) {
     const register = () => {
       try {
-        const {
-          error,
-          page
-        } = regFn();
-        this.pageCache[route] = {
-          error,
-          page
+        const mod = regFn();
+        const pageData = {
+          page: mod.default || mod,
+          mod
         };
-        this.pageRegisterEvents.emit(route, {
-          error,
-          page
-        });
+        this.pageCache[route] = pageData;
+        this.pageRegisterEvents.emit(route, pageData);
       } catch (error) {
         this.pageCache[route] = {
           error

Diff for _app.js
@@ -192,9 +192,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.js
@@ -187,9 +187,9 @@ var styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.js
@@ -994,9 +994,9 @@ module.exports = __webpack_require__("jmDH") ? Object.defineProperties : functio

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.js
@@ -22,9 +22,9 @@ Page.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.js
@@ -167,9 +167,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.js
@@ -30,9 +30,9 @@ useWithRouter.getInitialProps = function () {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _app.module.js
@@ -197,9 +197,9 @@ function createUrl(router) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_app", function() {
-      var page = __webpack_require__("B5Ud")
+      var mod = __webpack_require__("B5Ud")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for _error.module.js
@@ -163,9 +163,9 @@ const styles = {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/_error", function() {
-      var page = __webpack_require__("/a9y")
+      var mod = __webpack_require__("/a9y")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for hooks.module.js
@@ -133,9 +133,9 @@ module.exports = shouldUseNative() ? Object.assign : function (target, source) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/hooks", function() {
-      var page = __webpack_require__("+MDD")
+      var mod = __webpack_require__("+MDD")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.module.js
@@ -18,9 +18,9 @@ Page.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/", function() {
-      var page = __webpack_require__("RNiq")
+      var mod = __webpack_require__("RNiq")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for link.module.js
@@ -225,9 +225,9 @@ module.exports = function (TYPE, $create) {

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/link", function() {
-      var page = __webpack_require__("ObF3")
+      var mod = __webpack_require__("ObF3")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for routerDirect.module.js
@@ -5,9 +5,9 @@

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/routerDirect", function() {
-      var page = __webpack_require__("jSAA")
+      var mod = __webpack_require__("jSAA")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for withRouter.module.js
@@ -28,9 +28,9 @@ useWithRouter.getInitialProps = () => ({});

     (window.__NEXT_P=window.__NEXT_P||[]).push(["/withRouter", function() {
-      var page = __webpack_require__("0Hlz")
+      var mod = __webpack_require__("0Hlz")
       if(false) {}
-      return { page: page.default || page }
+      return mod
     }]);

Diff for index.html
@@ -12,11 +12,11 @@
         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-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -43,9 +43,9 @@
         async="" crossorigin="anonymous" nomodule=""></script>

-
-

@@ -53,9 +53,9 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-

Diff for link.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -52,13 +52,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Diff for withRouter.html
@@ -14,9 +14,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/de003c3a9d308750aa009870a5926f9b18ab31f4.85e4c18b9e4b400e5496.module.js"
+        <link rel="preload" href="/_next/static/chunks/de003c3a9d308750aa009870a5926f9b18ab31f4.148b9d567c5ec499c554.module.js"
         as="script" crossorigin="anonymous" />
-        <link rel="preload" href="/_next/static/runtime/main-0d26b819b58d326b70e7.module.js"
+        <link rel="preload" href="/_next/static/runtime/main-1859294639ae2cfa2504.module.js"
         as="script" crossorigin="anonymous" />
         <link rel="preload" href="/_next/static/BUILD_ID/_buildManifest.module.js"
         as="script" crossorigin="anonymous" />
@@ -50,13 +50,13 @@
         async="" crossorigin="anonymous" type="module"></script>

-
-
-
-

Serverless Mode (Increase detected ⚠)

General Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

buildDuration
23.5s
25.8s
⚠ +2.3s

nodeModulesSize
42.4 MB
42.4 MB
⚠ +22 B

Client Bundles (main, webpack, commons) Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.js
18.3 kB
18.2 kB
-21 B

main-HASH.js gzip
6.65 kB
6.66 kB
⚠ +4 B

webpack-HASH.js
1.53 kB
1.53 kB
✓

webpack-HASH.js gzip
746 B
746 B
✓

4952ddcd88e7..2b8407376.js
21.9 kB
21.9 kB
✓

4952ddcd88e7..7376.js gzip
7.81 kB
7.81 kB
✓

de003c3a9d30..799a4e38e.js
43.1 kB
N/A
N/A

de003c3a9d30..e38e.js gzip
15.4 kB
N/A
N/A

framework.5b..dbaff70d3.js
125 kB
125 kB
✓

framework.5b..70d3.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..1c5d17695.js
N/A
43.1 kB
N/A

de003c3a9d30..7695.js gzip
N/A
15.4 kB
N/A

Overall change
210 kB
210 kB
-21 B

Client Bundles (main, webpack, commons) Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

main-HASH.module.js
16.6 kB
16.6 kB
-16 B

main-HASH.module.js gzip
6.4 kB
6.4 kB
⚠ +3 B

webpack-HASH.module.js
1.53 kB
1.53 kB
✓

webpack-HASH..dule.js gzip
746 B
746 B
✓

de003c3a9d30..f0.module.js
45.5 kB
N/A
N/A

de003c3a9d30..dule.js gzip
16.5 kB
N/A
N/A

framework.5b..d3.module.js
125 kB
125 kB
✓

framework.5b..dule.js gzip
39.4 kB
39.4 kB
✓

de003c3a9d30..5f.module.js
N/A
45.5 kB
N/A

de003c3a9d30..dule.js gzip
N/A
16.5 kB
N/A

Overall change
189 kB
189 kB
-16 B

Client Pages Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.js
1.83 kB
1.81 kB
-25 B

_app.js gzip
883 B
873 B
-10 B

_error.js
12.1 kB
12 kB
-25 B

_error.js gzip
4.74 kB
4.73 kB
-11 B

hooks.js
12.7 kB
12.7 kB
-25 B

hooks.js gzip
4.81 kB
4.79 kB
-16 B

index.js
343 B
318 B
-25 B

index.js gzip
237 B
222 B
-15 B

link.js
8.14 kB
8.11 kB
-25 B

link.js gzip
3.49 kB
3.48 kB
-15 B

routerDirect.js
433 B
408 B
-25 B

routerDirect.js gzip
296 B
281 B
-15 B

withRouter.js
444 B
419 B
-25 B

withRouter.js gzip
294 B
280 B
-14 B

Overall change
36 kB
35.8 kB
-175 B

Client Pages Modern Overall decrease ✓

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_app.module.js
1.73 kB
1.7 kB
-25 B

_app.module.js gzip
841 B
832 B
-9 B

_error.module.js
23.3 kB
23.3 kB
-25 B

_error.module.js gzip
8.6 kB
8.59 kB
-9 B

hooks.module.js
1.55 kB
1.52 kB
-25 B

hooks.module.js gzip
804 B
793 B
-11 B

index.module.js
319 B
294 B
-25 B

index.module.js gzip
238 B
223 B
-15 B

link.module.js
8.52 kB
8.5 kB
-25 B

link.module.js gzip
3.67 kB
3.66 kB
-12 B

routerDirect.module.js
419 B
394 B
-25 B

routerDirect..dule.js gzip
294 B
281 B
-13 B

withRouter.module.js
429 B
404 B
-25 B

withRouter.m..dule.js gzip
293 B
278 B
-15 B

Overall change
36.2 kB
36.1 kB
-175 B

Client Build Manifests

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_buildManifest.js
81 B
81 B
✓

_buildManifest.js gzip
61 B
61 B
✓

_buildManifest.module.js
81 B
81 B
✓

_buildManife..dule.js gzip
61 B
61 B
✓

Overall change
162 B
162 B
✓

Serverless bundles Overall increase ⚠

zeit/next.js canary
ijjk/next.js update/pages-loader
Change

_error.js
247 kB
247 kB
⚠ +36 B

_error.js gzip
66.1 kB
66.2 kB
⚠ +7 B

hooks.html
3.73 kB
3.73 kB
✓

hooks.html gzip
973 B
972 B
-1 B

index.js
248 kB
248 kB
⚠ +36 B

index.js gzip
66.5 kB
66.5 kB
⚠ +10 B

link.js
255 kB
255 kB
⚠ +36 B

link.js gzip
68.5 kB
68.5 kB
⚠ +6 B

routerDirect.js
249 kB
249 kB
⚠ +36 B

routerDirect.js gzip
66.5 kB
66.5 kB
⚠ +10 B

withRouter.js
248 kB
248 kB
⚠ +36 B

withRouter.js gzip
66.6 kB
66.6 kB
⚠ +9 B

Overall change
1.25 MB
1.25 MB
⚠ +180 B