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

upgrade webpack to 5.27.1 #23224

Merged
merged 5 commits into from Mar 22, 2021
Merged

upgrade webpack to 5.27.1 #23224

merged 5 commits into from Mar 22, 2021

Conversation

sokra
Copy link
Member

@sokra sokra commented Mar 19, 2021

fixes #23125

fixes tailwindlabs/tailwindcss-jit#54

Bug

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

Feature

  • Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
  • Related issues linked using fixes #number
  • Integration tests added
  • Documentation added
  • Telemetry added. In case of a feature if it's used or not.

Documentation / Examples

  • Make sure the linting passes

@ijjk
Copy link
Member

ijjk commented Mar 19, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 12.7s 12.5s -159ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 2.074 2.059 -0.01
/ avg req/sec 1205.41 1214.26 +8.85
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.406 1.289 -0.12
/error-in-render avg req/sec 1778.44 1938.87 +160.43
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 613 B 613 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 14.5s 14.8s ⚠️ +393ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles
vercel/next.js canary vercel/next.js webpack/upgrade Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 14.8s 14.5s -280ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 2.101 2.099 0
/ avg req/sec 1190.18 1190.81 +0.63
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.359 1.357 0
/error-in-render avg req/sec 1839.41 1842.75 +3.34
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.11 kB ⚠️ +4 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB ⚠️ +4 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.29 kB ⚠️ +5 B
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB ⚠️ +2 B
amp-127483e4..9cd8.js gzip 560 B 558 B -2 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB ⚠️ +3 B
routerDirect..4d90.js gzip 333 B 328 B -5 B
withRouter-0..60b0.js gzip 329 B 326 B -3 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 324 B 325 B ⚠️ +1 B
Overall change 324 B 325 B ⚠️ +1 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 586 B 585 B -1 B
link.html gzip 593 B 592 B -1 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB -2 B

Diffs

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

@ijjk
Copy link
Member

ijjk commented Mar 19, 2021

Failing test suites

Commit: 89143c6

test/integration/webpack-require-hook/test/index.test.js

  • Handles Webpack Require Hook > dev mode > Applies and does not error during development
Expand output

● Handles Webpack Require Hook › dev mode › Applies and does not error during development

thrown: "Exceeded timeout of 60000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  28 |
  29 |   describe('dev mode', () => {
> 30 |     it('Applies and does not error during development', async () => {
     |     ^
  31 |       let output
  32 |       const handleOutput = (msg) => {
  33 |         output += msg

  at integration/webpack-require-hook/test/index.test.js:30:5
  at integration/webpack-require-hook/test/index.test.js:29:3
  at Object.<anonymous> (integration/webpack-require-hook/test/index.test.js:16:1)

@ijjk
Copy link
Member

ijjk commented Mar 19, 2021

Stats from current PR

Default Server Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 10.2s 10.1s -59ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 1.777 1.776 0
/ avg req/sec 1407.18 1407.27 +0.09
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.047 1.216 ⚠️ +0.17
/error-in-render avg req/sec 2387.72 2056.6 ⚠️ -331.12
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 613 B 613 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 11.6s 12.1s ⚠️ +519ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles
vercel/next.js canary vercel/next.js webpack/upgrade Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 12.2s 11.9s -282ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.19 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 1.839 1.709 -0.13
/ avg req/sec 1359.15 1462.83 +103.68
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.109 1.023 -0.09
/error-in-render avg req/sec 2253.85 2442.71 +188.86
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.11 kB ⚠️ +4 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB ⚠️ +4 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.29 kB ⚠️ +5 B
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB ⚠️ +2 B
amp-127483e4..9cd8.js gzip 560 B 558 B -2 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB ⚠️ +3 B
routerDirect..4d90.js gzip 333 B 328 B -5 B
withRouter-0..60b0.js gzip 329 B 326 B -3 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 324 B 325 B ⚠️ +1 B
Overall change 324 B 325 B ⚠️ +1 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 586 B 585 B -1 B
link.html gzip 593 B 592 B -1 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB -2 B

Diffs

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

@ijjk
Copy link
Member

ijjk commented Mar 19, 2021

Failing test suites

Commit: 711e4f7

test/integration/webpack-require-hook/test/index.test.js

  • Handles Webpack Require Hook > dev mode > Applies and does not error during development
Expand output

● Handles Webpack Require Hook › dev mode › Applies and does not error during development

thrown: "Exceeded timeout of 60000 ms for a test.
Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test."

  28 |
  29 |   describe('dev mode', () => {
> 30 |     it('Applies and does not error during development', async () => {
     |     ^
  31 |       let output
  32 |       const handleOutput = (msg) => {
  33 |         output += msg

  at integration/webpack-require-hook/test/index.test.js:30:5
  at integration/webpack-require-hook/test/index.test.js:29:3
  at Object.<anonymous> (integration/webpack-require-hook/test/index.test.js:16:1)

@sokra sokra changed the title upgrade webpack to 5.27.0 upgrade webpack to 5.27.1 Mar 20, 2021
@ijjk
Copy link
Member

ijjk commented Mar 20, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 13.5s 14.1s ⚠️ +642ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 2.452 2.444 -0.01
/ avg req/sec 1019.41 1022.92 +3.51
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.664 1.627 -0.04
/error-in-render avg req/sec 1502.16 1536.45 +34.29
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 613 B 613 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 15.7s 15.5s -243ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles
vercel/next.js canary vercel/next.js webpack/upgrade Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 16s 15.9s -136ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 2.386 2.414 ⚠️ +0.03
/ avg req/sec 1047.85 1035.76 ⚠️ -12.09
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.629 1.618 -0.01
/error-in-render avg req/sec 1535.06 1544.65 +9.59
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.11 kB ⚠️ +4 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB ⚠️ +4 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.29 kB ⚠️ +5 B
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB ⚠️ +2 B
amp-127483e4..9cd8.js gzip 560 B 558 B -2 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB ⚠️ +3 B
routerDirect..4d90.js gzip 333 B 328 B -5 B
withRouter-0..60b0.js gzip 329 B 326 B -3 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 324 B 325 B ⚠️ +1 B
Overall change 324 B 325 B ⚠️ +1 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 586 B 585 B -1 B
link.html gzip 593 B 592 B -1 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB -2 B

Diffs

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

@ijjk
Copy link
Member

ijjk commented Mar 22, 2021

Stats from current PR

Default Server Mode (Increase detected ⚠️)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 11s 11.3s ⚠️ +277ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Page Load Tests Overall increase ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 1.956 1.992 ⚠️ +0.04
/ avg req/sec 1278.06 1255.05 ⚠️ -23.01
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.175 1.153 -0.02
/error-in-render avg req/sec 2127.28 2168.58 +41.3
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 613 B 613 B
link.html gzip 622 B 622 B
withRouter.html gzip 609 B 609 B
Overall change 1.84 kB 1.84 kB

Serverless Mode
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 12.9s 12.7s -230ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Client Bundles (main, webpack, commons)
vercel/next.js canary vercel/next.js webpack/upgrade Change
677f882d2ed8..a2e7.js gzip 13.4 kB 13.4 kB
framework.HASH.js gzip 39 kB 39 kB
main-HASH.js gzip 7.14 kB 7.14 kB
webpack-HASH.js gzip 751 B 751 B
Overall change 60.3 kB 60.3 kB
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-fde3324..9dd1.js gzip 1.28 kB 1.28 kB
_error-af59f..582f.js gzip 3.46 kB 3.46 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-e6cee42..49eb.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.64 kB 8.64 kB
Client Build Manifests
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 346 B 346 B
Overall change 346 B 346 B
Serverless bundles
vercel/next.js canary vercel/next.js webpack/upgrade Change
_error.js 1.02 MB 1.02 MB
404.html 2.67 kB 2.67 kB
500.html 2.65 kB 2.65 kB
amp.amp.html 10.6 kB 10.6 kB
amp.html 1.86 kB 1.86 kB
hooks.html 1.92 kB 1.92 kB
index.js 1.02 MB 1.02 MB
link.js 1.08 MB 1.08 MB
routerDirect.js 1.07 MB 1.07 MB
withRouter.js 1.07 MB 1.07 MB
Overall change 5.27 MB 5.27 MB

Webpack 5 Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
buildDuration 12.9s 12.6s -263ms
nodeModulesSize 43.6 MB 43.6 MB ⚠️ +3.22 kB
Page Load Tests Overall decrease ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
/ failed reqs 0 0
/ total time (seconds) 1.891 1.903 ⚠️ +0.01
/ avg req/sec 1321.96 1314.04 ⚠️ -7.92
/error-in-render failed reqs 0 0
/error-in-render total time (seconds) 1.164 1.202 ⚠️ +0.04
/error-in-render avg req/sec 2147.61 2079.42 ⚠️ -68.19
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
597-12fee761..569d.js gzip 13.3 kB 13.3 kB
framework.HASH.js gzip 39.3 kB 39.3 kB
main-HASH.js gzip 7.1 kB 7.11 kB ⚠️ +4 B
webpack-HASH.js gzip 993 B 993 B
Overall change 60.7 kB 60.7 kB ⚠️ +4 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js webpack/upgrade 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 vercel/next.js webpack/upgrade Change
_app-d0eb668..79ef.js gzip 1.28 kB 1.29 kB ⚠️ +5 B
_error-d12ff..6063.js gzip 3.4 kB 3.4 kB ⚠️ +2 B
amp-127483e4..9cd8.js gzip 560 B 558 B -2 B
hooks-75994b..62d3.js gzip 924 B 924 B
index-ac1ee6..819e.js gzip 243 B 243 B
link-1cd4709..71e5.js gzip 1.65 kB 1.65 kB ⚠️ +3 B
routerDirect..4d90.js gzip 333 B 328 B -5 B
withRouter-0..60b0.js gzip 329 B 326 B -3 B
Overall change 8.72 kB 8.72 kB
Client Build Manifests Overall increase ⚠️
vercel/next.js canary vercel/next.js webpack/upgrade Change
_buildManifest.js gzip 324 B 325 B ⚠️ +1 B
Overall change 324 B 325 B ⚠️ +1 B
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary vercel/next.js webpack/upgrade Change
index.html gzip 586 B 585 B -1 B
link.html gzip 593 B 592 B -1 B
withRouter.html gzip 580 B 580 B
Overall change 1.76 kB 1.76 kB -2 B

Diffs

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

@kodiakhq kodiakhq bot merged commit c9a2e5b into canary Mar 22, 2021
@kodiakhq kodiakhq bot deleted the webpack/upgrade branch March 22, 2021 09:21
flybayer pushed a commit to blitz-js/next.js that referenced this pull request Apr 29, 2021
fixes vercel#23125

fixes tailwindlabs/tailwindcss-jit#54

## Bug

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

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [ ] Make sure the linting passes
@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
3 participants