Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Fix IE11 incompatibility due to string litterals #23784

Merged
merged 9 commits into from
Apr 15, 2021

Conversation

malixsys
Copy link
Contributor

@malixsys malixsys commented Apr 7, 2021

Fixes #22270

Bug

  • Related issues linked using fixes #number
  • [ ] Integration tests added

@ijjk
Copy link
Member

ijjk commented Apr 7, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 12.7s 12.9s ⚠️ +217ms
nodeModulesSize 46 MB 46 MB ⚠️ +79 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.74 2.939 ⚠️ +0.2
/ avg req/sec 912.53 850.55 ⚠️ -61.98
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.626 1.838 ⚠️ +0.21
/error-in-render avg req/sec 1537.2 1360.32 ⚠️ -176.88
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 613 B 613 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.4s 14.2s -1.2s
nodeModulesSize 46 MB 46 MB ⚠️ +79 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Serverless bundles
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.37 MB 1.37 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.37 MB 1.37 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.42 MB 1.42 MB
withRouter.js 1.42 MB 1.42 MB
Overall change 7.01 MB 7.01 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 14.6s 14.9s ⚠️ +287ms
nodeModulesSize 46 MB 46 MB ⚠️ +79 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.73 2.723 -0.01
/ avg req/sec 915.71 918.06 +2.35
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.602 1.511 -0.09
/error-in-render avg req/sec 1560.53 1654.36 +93.83
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-5cc798ac..5c25.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 610 B 610 B
link.html gzip 617 B 617 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Diffs

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

@ijjk
Copy link
Member

ijjk commented Apr 7, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 13.7s 13.5s -221ms
nodeModulesSize 46 MB 46 MB ⚠️ +87 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.949 2.843 -0.11
/ avg req/sec 847.63 879.29 +31.66
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.653 1.615 -0.04
/error-in-render avg req/sec 1512.17 1548.13 +35.96
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 613 B 613 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 16s 15.6s -339ms
nodeModulesSize 46 MB 46 MB ⚠️ +87 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Serverless bundles
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.37 MB 1.37 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.37 MB 1.37 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.42 MB 1.42 MB
withRouter.js 1.42 MB 1.42 MB
Overall change 7.01 MB 7.01 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 16.3s 16.9s ⚠️ +576ms
nodeModulesSize 46 MB 46 MB ⚠️ +87 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 3.019 3.007 -0.01
/ avg req/sec 827.96 831.38 +3.42
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.715 1.789 ⚠️ +0.07
/error-in-render avg req/sec 1458.04 1397.15 ⚠️ -60.89
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-5cc798ac..5c25.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 610 B 610 B
link.html gzip 617 B 617 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Diffs

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

@ijjk
Copy link
Member

ijjk commented Apr 8, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 13.2s 13.5s ⚠️ +253ms
nodeModulesSize 46 MB 46 MB ⚠️ +89 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.845 2.782 -0.06
/ avg req/sec 878.66 898.6 +19.94
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.69 1.674 -0.02
/error-in-render avg req/sec 1479.64 1493.49 +13.85
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 613 B 613 B
link.html gzip 620 B 620 B
withRouter.html gzip 608 B 608 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.7s 15.4s -300ms
nodeModulesSize 46 MB 46 MB ⚠️ +89 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..e6c6.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-8fbabfc..6440.js gzip 1.28 kB 1.28 kB
_error-d07ca..ef4d.js gzip 3.71 kB 3.71 kB
amp-9716187d..0aa8.js gzip 536 B 536 B
hooks-107e90..74c7.js gzip 888 B 888 B
index-ac435c..ecf2.js gzip 227 B 227 B
link-c31053f..c329.js gzip 1.64 kB 1.64 kB
routerDirect..dc9d.js gzip 303 B 303 B
withRouter-6..0e02.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Serverless bundles
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.37 MB 1.37 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.37 MB 1.37 MB
link.js 1.42 MB 1.42 MB
routerDirect.js 1.42 MB 1.42 MB
withRouter.js 1.42 MB 1.42 MB
Overall change 7.01 MB 7.01 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.8s 16.1s ⚠️ +231ms
nodeModulesSize 46 MB 46 MB ⚠️ +89 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.881 2.923 ⚠️ +0.04
/ avg req/sec 867.86 855.4 ⚠️ -12.46
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.657 1.69 ⚠️ +0.03
/error-in-render avg req/sec 1508.67 1479.63 ⚠️ -29.04
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-5cc798ac..5c25.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 610 B 610 B
link.html gzip 617 B 617 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Diffs

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

@malixsys malixsys requested a review from ijjk April 8, 2021 06:04
@timneutkens timneutkens changed the base branch from master to canary April 8, 2021 10:03
timneutkens
timneutkens previously approved these changes Apr 8, 2021
Copy link
Member

@timneutkens timneutkens left a comment

Choose a reason for hiding this comment

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

Thanks!

@jasonwilliams
Copy link

jasonwilliams commented Apr 8, 2021

I've just been testing this against my local build. (replacing the file with the one in this pr)
Although this fixes the error in the related issue it seems IE falls with other errors in this file.

"SyntaxError: Expected ':'
 at ./node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js (https://www.test.com/_next/static/chunks/pages/_app.js?ts=1617879187598:1155:1)

@jasonwilliams
Copy link

jasonwilliams commented Apr 8, 2021

The short function syntax also needs changing to function

Same story here:

and here:

@jasonwilliams
Copy link

needs to be identifier: identifier

@jasonwilliams
Copy link

jasonwilliams commented Apr 8, 2021

with those above changes we should be good, but it's not clear how long this fix will last. It doesn't look to me like this file (unbablified) was ever designed to run in IE in the first place so I'm not sure how we ended up in this situation.

What checks can be put in place to stop someone adding ES6 to these files and it being merged in future @timneutkens ?

If you can it might be worth going over https://github.com/vercel/next.js/blob/canary/packages/next/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoLinkTag.js and converting that too as thats a potential issue waiting to happen

@jasonwilliams
Copy link

is still short function syntax

@ijjk
Copy link
Member

ijjk commented Apr 12, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 14.5s 14.4s -90ms
nodeModulesSize 46.7 MB 46.7 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.531 2.455 -0.08
/ avg req/sec 987.67 1018.32 +30.65
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.369 1.296 -0.07
/error-in-render avg req/sec 1826.7 1928.83 +102.13
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-6834d41c..48a9.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 610 B 610 B
link.html gzip 617 B 617 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 18.2s 17.9s -307ms
nodeModulesSize 46.7 MB 46.7 MB ⚠️ +169 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-6834d41c..48a9.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Serverless bundles
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.35 MB 1.35 MB
404.html 2.76 kB 2.76 kB
500.html 2.75 kB 2.75 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.96 kB 1.96 kB
hooks.html 2.01 kB 2.01 kB
index.js 1.35 MB 1.35 MB
link.js 1.4 MB 1.4 MB
routerDirect.js 1.4 MB 1.4 MB
withRouter.js 1.4 MB 1.4 MB
Overall change 6.91 MB 6.91 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 14.2s 14.4s ⚠️ +282ms
nodeModulesSize 46.7 MB 46.7 MB ⚠️ +169 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.504 2.606 ⚠️ +0.1
/ avg req/sec 998.5 959.29 ⚠️ -39.21
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.32 1.311 -0.01
/error-in-render avg req/sec 1893.92 1907.54 +13.62
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-6834d41c..48a9.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 610 B 610 B
link.html gzip 617 B 617 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Diffs

Diff for index.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "8mUpERk4EcMujDew6OcwK",
+        "buildId": "wArbqtvrV6sUMdkXSHBMc",
         "isFallback": false,
         "gip": true
       }
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_buildManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_ssgManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -53,7 +53,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "8mUpERk4EcMujDew6OcwK",
+        "buildId": "wArbqtvrV6sUMdkXSHBMc",
         "isFallback": false,
         "gip": true
       }
@@ -91,11 +91,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_buildManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_ssgManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "8mUpERk4EcMujDew6OcwK",
+        "buildId": "wArbqtvrV6sUMdkXSHBMc",
         "isFallback": false,
         "gip": true
       }
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_buildManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/8mUpERk4EcMujDew6OcwK/_ssgManifest.js"
+      src="/_next/static/wArbqtvrV6sUMdkXSHBMc/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 2888c44

jasonwilliams
jasonwilliams previously approved these changes Apr 13, 2021
Copy link
Member

@timneutkens timneutkens left a comment

Choose a reason for hiding this comment

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

Can you add an integration test to test_ie11_production for this, just to make sure it keeps working in the future.

@malixsys
Copy link
Contributor Author

Can you add an integration test to test_ie11_production for this, just to make sure it keeps working in the future.

@timneutkens I can't find where to add one that would force loading next-style-loader in IE 🤔

@ijjk
Copy link
Member

ijjk commented Apr 14, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 12.8s 12.2s -588ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.226 2.159 -0.07
/ avg req/sec 1122.93 1157.85 +34.92
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.119 1.12 0
/error-in-render avg req/sec 2233.79 2232.2 ⚠️ -1.59
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-9c11a899..1178.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 609 B 609 B
link.html gzip 616 B 616 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.9s 16.4s ⚠️ +484ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-9c11a899..1178.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Serverless bundles Overall decrease ✓
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.39 MB 1.39 MB
404.html 2.76 kB 2.76 kB
500.html 2.75 kB 2.75 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.96 kB 1.96 kB
hooks.html 2.01 kB 2.01 kB
index.js 1.39 MB 1.39 MB
link.js 1.45 MB 1.45 MB
routerDirect.js 1.44 MB 1.44 MB
withRouter.js 1.44 MB 1.44 MB -2 B
Overall change 7.14 MB 7.14 MB -2 B

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 12.6s 12.4s -220ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.259 2.243 -0.02
/ avg req/sec 1106.6 1114.64 +8.04
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.193 1.181 -0.01
/error-in-render avg req/sec 2096.31 2116.85 +20.54
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-3f457946..288d.js gzip 13.3 kB 13.3 kB
778-9c11a899..1178.js gzip 7.05 kB 7.05 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-5cc66b2..6f03.js gzip 1.3 kB 1.3 kB
_error-55112..054d.js gzip 3.68 kB 3.68 kB
amp-89a5460c..567f.js gzip 558 B 558 B
hooks-8c2e74..be37.js gzip 924 B 924 B
index-fec729..83b2.js gzip 243 B 243 B
link-dd34d9b..0ade.js gzip 1.66 kB 1.66 kB
routerDirect..5759.js gzip 336 B 336 B
withRouter-1..98bf.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 609 B 609 B
link.html gzip 616 B 616 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Diffs

Diff for index.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/",
         "query": {},
-        "buildId": "MUnrJhpJj17cx74PVXcTc",
+        "buildId": "23hysp-nwVpfmK06pr93V",
         "isFallback": false,
         "gip": true
       }
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_buildManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_ssgManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for link.html
@@ -53,7 +53,7 @@
         "props": { "pageProps": {} },
         "page": "/link",
         "query": {},
-        "buildId": "MUnrJhpJj17cx74PVXcTc",
+        "buildId": "23hysp-nwVpfmK06pr93V",
         "isFallback": false,
         "gip": true
       }
@@ -91,11 +91,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_buildManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_ssgManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_ssgManifest.js"
       async=""
     ></script>
   </body>
Diff for withRouter.html
@@ -48,7 +48,7 @@
         "props": { "pageProps": {} },
         "page": "/withRouter",
         "query": {},
-        "buildId": "MUnrJhpJj17cx74PVXcTc",
+        "buildId": "23hysp-nwVpfmK06pr93V",
         "isFallback": false,
         "gip": true
       }
@@ -86,11 +86,11 @@
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_buildManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_buildManifest.js"
       async=""
     ></script>
     <script
-      src="/_next/static/MUnrJhpJj17cx74PVXcTc/_ssgManifest.js"
+      src="/_next/static/23hysp-nwVpfmK06pr93V/_ssgManifest.js"
       async=""
     ></script>
   </body>
Commit: 473dccd

@ijjk
Copy link
Member

ijjk commented Apr 15, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.3s 15.3s -14ms
buildDurationCached 4.7s 4.7s -4ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall decrease ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.715 2.821 ⚠️ +0.11
/ avg req/sec 920.7 886.25 ⚠️ -34.45
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.585 1.599 ⚠️ +0.01
/error-in-render avg req/sec 1577.08 1563.44 ⚠️ -13.64
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-HASH.js gzip 13.3 kB 13.3 kB
778-HASH.js gzip 7.05 kB 7.05 kB
framework-HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.3 kB 1.3 kB
_error-HASH.js gzip 3.68 kB 3.68 kB
amp-HASH.js gzip 558 B 558 B
hooks-HASH.js gzip 924 B 924 B
index-HASH.js gzip 243 B 243 B
link-HASH.js gzip 1.66 kB 1.66 kB
routerDirect..HASH.js gzip 336 B 336 B
withRouter-HASH.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 611 B 611 B
link.html gzip 616 B 616 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 19.2s 18.8s -422ms
buildDurationCached 6.8s 6.8s -4ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-HASH.js gzip 13.3 kB 13.3 kB
778-HASH.js gzip 7.05 kB 7.05 kB
framework-HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.3 kB 1.3 kB
_error-HASH.js gzip 3.68 kB 3.68 kB
amp-HASH.js gzip 558 B 558 B
hooks-HASH.js gzip 924 B 924 B
index-HASH.js gzip 243 B 243 B
link-HASH.js gzip 1.66 kB 1.66 kB
routerDirect..HASH.js gzip 336 B 336 B
withRouter-HASH.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Serverless bundles
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.39 MB 1.39 MB
404.html 2.76 kB 2.76 kB
500.html 2.75 kB 2.75 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.96 kB 1.96 kB
hooks.html 2.01 kB 2.01 kB
index.js 1.39 MB 1.39 MB
link.js 1.45 MB 1.45 MB
routerDirect.js 1.44 MB 1.44 MB
withRouter.js 1.44 MB 1.44 MB
Overall change 7.14 MB 7.14 MB

Webpack 4 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 12.9s 13.1s ⚠️ +208ms
buildDurationCached 5.4s 5.2s -167ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.72 2.679 -0.04
/ avg req/sec 919.2 933.21 +14.01
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.598 1.58 -0.02
/error-in-render avg req/sec 1564.41 1582.18 +17.77
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..HASH.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.28 kB 1.28 kB
_error-HASH.js gzip 3.71 kB 3.71 kB
amp-HASH.js gzip 536 B 536 B
hooks-HASH.js gzip 888 B 888 B
index-HASH.js gzip 227 B 227 B
link-HASH.js gzip 1.64 kB 1.64 kB
routerDirect..HASH.js gzip 303 B 303 B
withRouter-HASH.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 612 B 612 B
link.html gzip 620 B 620 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB
Commit: 06be761

@ijjk
Copy link
Member

ijjk commented Apr 15, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 15.1s 15s -99ms
buildDurationCached 4.5s 4.7s ⚠️ +136ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.819 2.654 -0.17
/ avg req/sec 886.83 942.01 +55.18
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.57 1.481 -0.09
/error-in-render avg req/sec 1592.27 1687.76 +95.49
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-HASH.js gzip 13.3 kB 13.3 kB
778-HASH.js gzip 7.05 kB 7.05 kB
framework-HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.3 kB 1.3 kB
_error-HASH.js gzip 3.68 kB 3.68 kB
amp-HASH.js gzip 558 B 558 B
hooks-HASH.js gzip 924 B 924 B
index-HASH.js gzip 243 B 243 B
link-HASH.js gzip 1.66 kB 1.66 kB
routerDirect..HASH.js gzip 336 B 336 B
withRouter-HASH.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 611 B 611 B
link.html gzip 616 B 616 B
withRouter.html gzip 605 B 605 B
Overall change 1.83 kB 1.83 kB

Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 18.5s 18.3s -134ms
buildDurationCached 6.5s 6.5s -30ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
597-HASH.js gzip 13.3 kB 13.3 kB
778-HASH.js gzip 7.05 kB 7.05 kB
framework-HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 151 B 151 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.8 kB 60.8 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.1 kB 31.1 kB
Overall change 31.1 kB 31.1 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.3 kB 1.3 kB
_error-HASH.js gzip 3.68 kB 3.68 kB
amp-HASH.js gzip 558 B 558 B
hooks-HASH.js gzip 924 B 924 B
index-HASH.js gzip 243 B 243 B
link-HASH.js gzip 1.66 kB 1.66 kB
routerDirect..HASH.js gzip 336 B 336 B
withRouter-HASH.js gzip 334 B 334 B
Overall change 9.03 kB 9.03 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 349 B 349 B
Overall change 349 B 349 B
Serverless bundles Overall decrease ✓
vercel/next.js canary malixsys/next.js patch-2 Change
_error.js 1.39 MB 1.39 MB
404.html 2.76 kB 2.76 kB
500.html 2.75 kB 2.75 kB
amp.amp.html 10.7 kB 10.7 kB
amp.html 1.96 kB 1.96 kB
hooks.html 2.01 kB 2.01 kB
index.js 1.39 MB 1.39 MB -2 B
link.js 1.45 MB 1.45 MB
routerDirect.js 1.44 MB 1.44 MB -2 B
withRouter.js 1.44 MB 1.44 MB
Overall change 7.14 MB 7.14 MB -4 B

Webpack 4 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary malixsys/next.js patch-2 Change
buildDuration 12.8s 12.6s -258ms
buildDurationCached 5.4s 5s -377ms
nodeModulesSize 46.2 MB 46.2 MB ⚠️ +169 B
Page Load Tests Overall increase ✓
vercel/next.js canary malixsys/next.js patch-2 Change
/ failed reqs 0 0
/ total time (seconds) 2.727 2.824 ⚠️ +0.1
/ avg req/sec 916.65 885.26 ⚠️ -31.39
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.605 1.532 -0.07
/error-in-render avg req/sec 1557.48 1631.88 +74.4
Client Bundles (main, webpack, commons)
vercel/next.js canary malixsys/next.js patch-2 Change
677f882d2ed8..HASH.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.12 kB 7.12 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.2 kB 60.2 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary malixsys/next.js patch-2 Change
polyfills-HASH.js gzip 31.3 kB 31.3 kB
Overall change 31.3 kB 31.3 kB
Client Pages
vercel/next.js canary malixsys/next.js patch-2 Change
_app-HASH.js gzip 1.28 kB 1.28 kB
_error-HASH.js gzip 3.71 kB 3.71 kB
amp-HASH.js gzip 536 B 536 B
hooks-HASH.js gzip 888 B 888 B
index-HASH.js gzip 227 B 227 B
link-HASH.js gzip 1.64 kB 1.64 kB
routerDirect..HASH.js gzip 303 B 303 B
withRouter-HASH.js gzip 302 B 302 B
Overall change 8.89 kB 8.89 kB
Client Build Manifests
vercel/next.js canary malixsys/next.js patch-2 Change
_buildManifest.js gzip 371 B 371 B
Overall change 371 B 371 B
Rendered Page Sizes
vercel/next.js canary malixsys/next.js patch-2 Change
index.html gzip 612 B 612 B
link.html gzip 620 B 620 B
withRouter.html gzip 607 B 607 B
Overall change 1.84 kB 1.84 kB
Commit: a0fe54e

@kodiakhq kodiakhq bot merged commit b2ee0a9 into vercel:canary Apr 15, 2021
SokratisVidros pushed a commit to SokratisVidros/next.js that referenced this pull request Apr 20, 2021
Fixes vercel#22270

## Bug

- [X] Related issues linked using `fixes #number`
- [  ] Integration tests added
@vercel vercel locked as resolved and limited conversation to collaborators Jan 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in ie11 in the dev env after 10.0.5 -> 10.0.6 upgrade. Nextjs with custom server.
4 participants