-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Remove aliases that are no longer needed #19937
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…xt.js into fix/webpack5-alias-config
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
buildDuration | 10.1s | 10.2s | |
nodeModulesSize | 82.5 MB | 82.5 MB | -1.25 kB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.416 | 2.487 | |
/ avg req/sec | 1034.96 | 1005.41 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.31 | 1.526 | |
/error-in-render avg req/sec | 1908.38 | 1637.74 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
677f882d2ed8..34b9.js gzip | 12.8 kB | 12.8 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-f501b4a..c42e.js gzip | 6.56 kB | 6.56 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 59 kB | 59 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
polyfills-4b..e242.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
_app-7231d4b..5856.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-01375..90b6.js gzip | 3.69 kB | 3.69 kB | ✓ |
hooks-d4591d..e7c2.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-db223d9..dbd7.js gzip | 1.61 kB | 1.61 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 303 B | |
withRouter-7..c13d.js gzip | 284 B | 302 B | |
Overall change | 8.27 kB | 8.31 kB |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
index.html gzip | 614 B | 614 B | ✓ |
link.html gzip | 621 B | 621 B | ✓ |
withRouter.html gzip | 608 B | 607 B | -1 B |
Overall change | 1.84 kB | 1.84 kB | -1 B |
Diffs
Diff for _buildManifest.js
@@ -9,10 +9,10 @@ self.__BUILD_MANIFEST = {
],
"/link": ["static\u002Fchunks\u002Fpages\u002Flink-00f0f71a76f57326f2aa.js"],
"/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-2e9bfd441bd88cd3382e.js"
+ "static\u002Fchunks\u002Fpages\u002FrouterDirect-6f408582ce776dfa74d5.js"
],
"/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-9af1d72bd996729e701e.js"
+ "static\u002Fchunks\u002Fpages\u002FwithRouter-2cdddce06c9626f1dcfa.js"
],
sortedPages: [
"\u002F",
Diff for routerDirect..88cd3382e.js
@@ -1,6 +1,12 @@
_N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
[9],
{
+ /***/ "20a2": /***/ function(module, exports, __webpack_require__) {
+ module.exports = __webpack_require__("nOHt");
+
+ /***/
+ },
+
/***/ LtRI: /***/ function(module, exports, __webpack_require__) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/routerDirect",
@@ -26,7 +32,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
react__WEBPACK_IMPORTED_MODULE_0__
);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- "nOHt"
+ "20a2"
);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
next_router__WEBPACK_IMPORTED_MODULE_1__
Diff for withRouter-9..6729e701e.js
@@ -15,7 +15,7 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
react__WEBPACK_IMPORTED_MODULE_0__
);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- "nOHt"
+ "20a2"
);
/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
next_router__WEBPACK_IMPORTED_MODULE_1__
@@ -38,6 +38,12 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
/***/
},
+ /***/ "20a2": /***/ function(module, exports, __webpack_require__) {
+ module.exports = __webpack_require__("nOHt");
+
+ /***/
+ },
+
/***/ eThv: /***/ function(module, exports, __webpack_require__) {
(window.__NEXT_P = window.__NEXT_P || []).push([
"/withRouter",
Diff for withRouter.html
@@ -32,7 +32,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/pages/withRouter-9af1d72bd996729e701e.js"
+ href="/_next/static/chunks/pages/withRouter-2cdddce06c9626f1dcfa.js"
as="script"
/>
</head>
@@ -73,7 +73,7 @@
async=""
></script>
<script
- src="/_next/static/chunks/pages/withRouter-9af1d72bd996729e701e.js"
+ src="/_next/static/chunks/pages/withRouter-2cdddce06c9626f1dcfa.js"
async=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" async=""></script>
Serverless Mode (Increase detected ⚠️ )
General Overall decrease ✓
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
buildDuration | 12.3s | 11.8s | -511ms |
nodeModulesSize | 82.5 MB | 82.5 MB | -1.25 kB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
677f882d2ed8..34b9.js gzip | 12.8 kB | 12.8 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-f501b4a..c42e.js gzip | 6.56 kB | 6.56 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 59 kB | 59 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
polyfills-4b..e242.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
_app-7231d4b..5856.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-01375..90b6.js gzip | 3.69 kB | 3.69 kB | ✓ |
hooks-d4591d..e7c2.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-db223d9..dbd7.js gzip | 1.61 kB | 1.61 kB | ✓ |
routerDirect..924c.js gzip | 284 B | N/A | N/A |
withRouter-7..c13d.js gzip | 284 B | N/A | N/A |
routerDirect..fd29.js gzip | N/A | 303 B | N/A |
withRouter-b..76ae.js gzip | N/A | 302 B | N/A |
Overall change | 8.27 kB | 8.31 kB |
Client Build Manifests
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Serverless bundles Overall increase ⚠️
vercel/next.js canary | timneutkens/next.js fix/webpack5-alias-config | Change | |
---|---|---|---|
_error.js | 1 MB | 1 MB | ✓ |
404.html | 2.67 kB | 2.67 kB | ✓ |
hooks.html | 1.92 kB | 1.92 kB | ✓ |
index.js | 1 MB | 1 MB | ✓ |
link.js | 1.06 MB | 1.06 MB | ✓ |
routerDirect.js | 1.05 MB | 1.05 MB | |
withRouter.js | 1.05 MB | 1.05 MB | |
Overall change | 5.16 MB | 5.16 MB |
Timer
approved these changes
Dec 7, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #19939