-
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
Ensure i18n index prefetch is correct with trailingSlash #22746
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
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
ijjk
requested review from
divmain,
lfades,
Timer and
timneutkens
as code owners
March 3, 2021 23:34
This comment has been minimized.
This comment has been minimized.
…efetch # Conflicts: # packages/next/export/worker.ts
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 12.7s | 12.6s | -141ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.242 | 2.211 | -0.03 |
/ avg req/sec | 1115.24 | 1130.92 | +15.68 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.545 | 1.514 | -0.03 |
/error-in-render avg req/sec | 1618.05 | 1651.18 | +33.13 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.65 kB | 6.67 kB | |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.8 kB | 59.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | 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-c0d2c96..de48.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
index.html gzip | 614 B | 614 B | ✓ |
link.html gzip | 621 B | 620 B | -1 B |
withRouter.html gzip | 609 B | 608 B | -1 B |
Overall change | 1.84 kB | 1.84 kB | -2 B |
Diffs
Diff for main-HASH.js
@@ -1688,6 +1688,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _parseRelativeUrl = __webpack_require__("hS4m");
+ var _normalizeTrailingSlash = __webpack_require__("X24+");
+
var _routeLoader = _interopRequireWildcard(__webpack_require__("Nh2W"));
function normalizeRoute(route) {
@@ -1762,7 +1764,9 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var getHrefForSlug = function getHrefForSlug(path) {
var dataRoute = (0, _getAssetPathFromRoute["default"])(
- (0, _router.addLocale)(path, locale),
+ (0, _normalizeTrailingSlash.removePathTrailingSlash)(
+ (0, _router.addLocale)(path, locale)
+ ),
".json"
);
return (0, _router.addBasePath)(
Diff for index.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-03858e8222832385eebf.js"
+ href="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
as="script"
/>
<link
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-03858e8222832385eebf.js"
+ src="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
async=""
></script>
<script
Diff for link.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-03858e8222832385eebf.js"
+ href="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
as="script"
/>
<link
@@ -58,7 +58,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-03858e8222832385eebf.js"
+ src="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
async=""
></script>
<script
Diff for withRouter.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-03858e8222832385eebf.js"
+ href="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
as="script"
/>
<link
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-03858e8222832385eebf.js"
+ src="/_next/static/chunks/main-ecd1107f58206c08b31f.js"
async=""
></script>
<script
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 14.5s | 14.4s | -93ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.65 kB | 6.67 kB | |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.8 kB | 59.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | 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-c0d2c96..de48.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 14.7s | 14.7s | -20ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.264 | 2.275 | |
/ avg req/sec | 1104.25 | 1099.09 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.583 | 1.553 | -0.03 |
/error-in-render avg req/sec | 1578.92 | 1610.22 | +31.3 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
597-2bc2376a..203d.js gzip | 13.3 kB | 13.3 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.59 kB | 6.62 kB | |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 60.2 kB | 60.2 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_app-0c62a59..94b7.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-97d24..ed28.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-2926e4c2..9ccc.js gzip | 536 B | 536 B | ✓ |
hooks-1ed65b..8908.js gzip | 902 B | 902 B | ✓ |
index-6259b6..77d8.js gzip | 230 B | 230 B | ✓ |
link-b722682..14a4.js gzip | 1.65 kB | 1.65 kB | ✓ |
routerDirect..862a.js gzip | 306 B | 306 B | ✓ |
withRouter-4..76fd.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.57 kB | 8.57 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
index.html gzip | 587 B | 587 B | ✓ |
link.html gzip | 594 B | 593 B | -1 B |
withRouter.html gzip | 581 B | 580 B | -1 B |
Overall change | 1.76 kB | 1.76 kB | -2 B |
Diffs
Diff for main-HASH.js
@@ -76,10 +76,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var t = n[e.type] || [];
t.push(e), (n[e.type] = t);
});
- var a = n.title ? n.title[0] : null,
+ var o = n.title ? n.title[0] : null,
i = "";
- if (a) {
- var u = a.props.children;
+ if (o) {
+ var u = o.props.children;
i =
"string" === typeof u
? u
@@ -95,15 +95,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n = r.querySelector("meta[name=next-head-count]");
0;
for (
- var a = Number(n.content),
+ var o = Number(n.content),
i = [],
u = 0,
c = n.previousElementSibling;
- u < a;
+ u < o;
u++, c = c.previousElementSibling
)
c.tagName.toLowerCase() === e && i.push(c);
- var s = t.map(o).filter(function(e) {
+ var s = t.map(a).filter(function(e) {
for (var t = 0, r = i.length; t < r; t++) {
if (i[t].isEqualNode(e))
return i.splice(t, 1), !1;
@@ -116,7 +116,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
s.forEach(function(e) {
return r.insertBefore(e, n);
}),
- (n.content = (a - i.length + s.length).toString());
+ (n.content = (o - i.length + s.length).toString());
})(e, n[e] || []);
}
);
@@ -133,32 +133,32 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
httpEquiv: "http-equiv",
noModule: "noModule"
};
- function o(e) {
+ function a(e) {
var t = e.type,
r = e.props,
- o = document.createElement(t);
- for (var a in r)
+ a = document.createElement(t);
+ for (var o in r)
if (
- r.hasOwnProperty(a) &&
- "children" !== a &&
- "dangerouslySetInnerHTML" !== a &&
- void 0 !== r[a]
+ r.hasOwnProperty(o) &&
+ "children" !== o &&
+ "dangerouslySetInnerHTML" !== o &&
+ void 0 !== r[o]
) {
- var i = n[a] || a.toLowerCase();
+ var i = n[o] || o.toLowerCase();
"script" !== t ||
("async" !== i && "defer" !== i && "noModule" !== i)
- ? o.setAttribute(i, r[a])
- : (o[i] = !!r[a]);
+ ? a.setAttribute(i, r[o])
+ : (a[i] = !!r[o]);
}
var u = r.children,
c = r.dangerouslySetInnerHTML;
return (
c
- ? (o.innerHTML = c.__html || "")
+ ? (a.innerHTML = c.__html || "")
: u &&
- (o.textContent =
+ (a.textContent =
"string" === typeof u ? u : Array.isArray(u) ? u.join("") : ""),
- o
+ a
);
}
t.DOMAttributeNames = n;
@@ -167,17 +167,17 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
"use strict";
var n;
(t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((n = r("q1tI")) && n.__esModule
+ var a = ((n = r("q1tI")) && n.__esModule
? n
: { default: n }
).default.createContext({});
- t.HeadManagerContext = o;
+ t.HeadManagerContext = a;
},
IKlv: function(e, t, r) {
"use strict";
var n = r("o0o1"),
- o = r("yXPU"),
- a = r("lwsE"),
+ a = r("yXPU"),
+ o = r("lwsE"),
i = r("W8MJ"),
u = r("7W2i"),
c = r("a1gu"),
@@ -203,8 +203,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r,
n = s(e);
if (t) {
- var o = s(this).constructor;
- r = Reflect.construct(n, arguments, o);
+ var a = s(this).constructor;
+ r = Reflect.construct(n, arguments, a);
} else r = n.apply(this, arguments);
return c(this, r);
};
@@ -212,7 +212,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var p = r("284h"),
d = r("TqRt");
(t.__esModule = !0),
- (t.render = ae),
+ (t.render = oe),
(t.renderError = ue),
(t.default = t.emitter = t.router = t.version = void 0);
var m = d(r("pVnL"));
@@ -284,7 +284,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u(r, e);
var t = f(r);
function r() {
- return a(this, r), t.apply(this, arguments);
+ return o(this, r), t.apply(this, arguments);
}
return (
i(r, [
@@ -349,12 +349,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})(h.default.Component),
ne = (0, g.default)();
t.emitter = ne;
- var oe = (function() {
- var e = o(
+ var ae = (function() {
+ var e = a(
n.mark(function e() {
var r,
- o,
a,
+ o,
i,
u,
c,
@@ -376,16 +376,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
throw r.error;
case 7:
- (o = r.component),
- (a = r.exports),
- (Z = o),
- a &&
- a.reportWebVitals &&
+ (a = r.component),
+ (o = r.exports),
+ (Z = a),
+ o &&
+ o.reportWebVitals &&
(K = function(e) {
var t,
r = e.id,
n = e.name,
- o = e.startTime,
+ a = e.startTime,
i = e.value,
u = e.duration,
c = e.entryType,
@@ -397,10 +397,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
1e12
);
s && s.length && (t = s[0].startTime),
- a.reportWebVitals({
+ o.reportWebVitals({
id: r || l,
name: n,
- startTime: o || t,
+ startTime: a || t,
value: null == i ? u : i,
label:
"mark" === c || "measure" === c
@@ -447,7 +447,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
err: i,
isFallback: Boolean(B),
subscription: function(e, t, r) {
- return ae(
+ return oe(
Object.assign({}, e, { App: t, scroll: r })
);
},
@@ -457,7 +457,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
domainLocales: X,
isPreview: G
})),
- ae(
+ oe(
(c = {
App: Z,
initial: !0,
@@ -471,7 +471,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
case 44:
return e.abrupt("return", {
emitter: ne,
- render: ae,
+ render: oe,
renderCtx: c
});
case 45:
@@ -489,11 +489,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return e.apply(this, arguments);
};
})();
- function ae(e) {
+ function oe(e) {
return ie.apply(this, arguments);
}
function ie() {
- return (ie = o(
+ return (ie = a(
n.mark(function e(t) {
return n.wrap(
function(e) {
@@ -542,11 +542,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return (
console.error(r),
Y.loadPage("/_error").then(function(n) {
- var o = n.page,
- a = n.styleSheets,
+ var a = n.page,
+ o = n.styleSheets,
i = me(t),
u = {
- Component: o,
+ Component: a,
AppTree: i,
router: Q,
ctx: { err: r, pathname: R, query: F, asPath: U, AppTree: i }
@@ -557,8 +557,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return he(
(0, m.default)({}, e, {
err: r,
- Component: o,
- styleSheets: a,
+ Component: a,
+ styleSheets: o,
props: t
})
);
@@ -566,7 +566,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})
);
}
- t.default = oe;
+ t.default = ae;
var ce = "function" === typeof v.default.hydrate;
function se() {
x.ST &&
@@ -656,10 +656,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var t = e.App,
r = e.Component,
n = e.props,
- o = e.err,
- a = "initial" in e ? void 0 : e.styleSheets;
+ a = e.err,
+ o = "initial" in e ? void 0 : e.styleSheets;
(r = r || de.Component), (n = n || de.props);
- var i = (0, m.default)({}, n, { Component: r, err: o, router: Q });
+ var i = (0, m.default)({}, n, { Component: r, err: a, router: Q });
de = i;
var u,
c = !1,
@@ -685,10 +685,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
h.default.createElement(ye, {
callback: function() {
- if (a && !c) {
+ if (o && !c) {
for (
var t = new Set(
- a.map(function(e) {
+ o.map(function(e) {
return e.href;
})
),
@@ -696,16 +696,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n = r.map(function(e) {
return e.getAttribute("data-n-href");
}),
- o = 0;
- o < n.length;
- ++o
+ a = 0;
+ a < n.length;
+ ++a
)
- t.has(n[o])
- ? r[o].removeAttribute("media")
- : r[o].setAttribute("media", "x");
+ t.has(n[a])
+ ? r[a].removeAttribute("media")
+ : r[a].setAttribute("media", "x");
var i = document.querySelector("noscript[data-n-css]");
i &&
- a.forEach(function(e) {
+ o.forEach(function(e) {
var t = e.href,
r = document.querySelector(
'style[data-n-href="'.concat(t, '"]')
@@ -727,7 +727,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
);
return (
(function() {
- if (!a) return !1;
+ if (!o) return !1;
var e = C(document.querySelectorAll("style[data-n-href]")),
t = new Set(
e.map(function(e) {
@@ -736,16 +736,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
),
r = document.querySelector("noscript[data-n-css]"),
n = null == r ? void 0 : r.getAttribute("data-n-css");
- a.forEach(function(e) {
+ o.forEach(function(e) {
var r = e.href,
- o = e.text;
+ a = e.text;
if (!t.has(r)) {
- var a = document.createElement("style");
- a.setAttribute("data-n-href", r),
- a.setAttribute("media", "x"),
- n && a.setAttribute("nonce", n),
- document.head.appendChild(a),
- a.appendChild(document.createTextNode(o));
+ var o = document.createElement("style");
+ o.setAttribute("data-n-href", r),
+ o.setAttribute("media", "x"),
+ n && o.setAttribute("nonce", n),
+ document.head.appendChild(o),
+ o.appendChild(document.createTextNode(a));
}
});
})(),
@@ -811,29 +811,29 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
a1gu: function(e, t, r) {
var n = r("cDf5"),
- o = r("PJYZ");
+ a = r("PJYZ");
e.exports = function(e, t) {
- return !t || ("object" !== n(t) && "function" !== typeof t) ? o(e) : t;
+ return !t || ("object" !== n(t) && "function" !== typeof t) ? a(e) : t;
};
},
bGXG: function(e, t, r) {
"use strict";
(t.__esModule = !0), (t.default = void 0);
var n,
- o = r("p0hA"),
- a = (location.href, !1);
+ a = r("p0hA"),
+ o = (location.href, !1);
function i(e) {
n && n(e);
}
t.default = function(e) {
(n = e),
- a ||
- ((a = !0),
- (0, o.getCLS)(i),
- (0, o.getFID)(i),
- (0, o.getFCP)(i),
- (0, o.getLCP)(i),
- (0, o.getTTFB)(i));
+ o ||
+ ((o = !0),
+ (0, a.getCLS)(i),
+ (0, a.getFID)(i),
+ (0, a.getFCP)(i),
+ (0, a.getLCP)(i),
+ (0, a.getTTFB)(i));
};
},
p0hA: function(e, t, r) {
@@ -852,7 +852,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
Math.floor(8999999999999 * Math.random()) + 1e12
);
},
- o = function(e) {
+ a = function(e) {
return {
name: e,
value:
@@ -865,7 +865,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
isFinal: !1
};
},
- a = function(e, t) {
+ o = function(e, t) {
try {
if (
PerformanceObserver.supportedEntryTypes.includes(e)
@@ -903,16 +903,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
);
},
f = function(e, t, r, n) {
- var o;
+ var a;
return function() {
r && t.isFinal && r.disconnect(),
t.value >= 0 &&
(n ||
t.isFinal ||
"hidden" === document.visibilityState) &&
- ((t.delta = t.value - (o || 0)),
- (t.delta || t.isFinal || void 0 === o) &&
- (e(t), (o = t.value)));
+ ((t.delta = t.value - (a || 0)),
+ (t.delta || t.isFinal || void 0 === a) &&
+ (e(t), (a = t.value)));
};
},
p = function() {
@@ -954,12 +954,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
- n = o("CLS", 0),
+ n = a("CLS", 0),
i = function(e) {
e.hadRecentInput ||
((n.value += e.value), n.entries.push(e), t());
},
- u = a("layout-shift", i);
+ u = o("layout-shift", i);
u &&
((t = f(e, n, u, r)),
l(function(e) {
@@ -969,9 +969,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}),
(e.getFCP = function(e) {
var t,
- r = o("FCP"),
+ r = a("FCP"),
n = p(),
- i = a("paint", function(e) {
+ i = o("paint", function(e) {
"first-contentful-paint" === e.name &&
e.startTime < n.timeStamp &&
((r.value = e.startTime),
@@ -982,7 +982,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
i && (t = f(e, r, i));
}),
(e.getFID = function(e) {
- var t = o("FID"),
+ var t = a("FID"),
r = p(),
n = function(e) {
e.startTime < r.timeStamp &&
@@ -991,7 +991,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(t.isFinal = !0),
u());
},
- i = a("first-input", n),
+ i = o("first-input", n),
u = f(e, t, i);
i
? l(function() {
@@ -1022,7 +1022,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
- n = o("LCP"),
+ n = a("LCP"),
i = p(),
u = function(e) {
var r = e.startTime;
@@ -1031,7 +1031,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
: (n.isFinal = !0),
t();
},
- c = a("largest-contentful-paint", u);
+ c = o("largest-contentful-paint", u);
if (c) {
t = f(e, n, c, r);
var s = function() {
@@ -1043,7 +1043,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}),
(e.getTTFB = function(e) {
var t,
- r = o("TTFB");
+ r = a("TTFB");
(t = function() {
try {
var t =
@@ -1077,14 +1077,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
function n(t) {
if (r[t]) return r[t].exports;
- var o = (r[t] = { exports: {} }),
- a = !0;
+ var a = (r[t] = { exports: {} }),
+ o = !0;
try {
- e[t].call(o.exports, o, o.exports, n), (a = !1);
+ e[t].call(a.exports, a, a.exports, n), (o = !1);
} finally {
- a && delete r[t];
+ o && delete r[t];
}
- return o.exports;
+ return a.exports;
}
return (n.ab = t + "/"), n(599);
})();
@@ -1123,23 +1123,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
zmvN: function(e, t, r) {
"use strict";
var n = r("lwsE"),
- o = r("W8MJ"),
- a = r("284h"),
+ a = r("W8MJ"),
+ o = r("284h"),
i = r("TqRt");
(t.__esModule = !0), (t.default = void 0);
var u = r("elyg"),
c = i(r("Lab5")),
s = r("/jkW"),
l = r("hS4m"),
- f = a(r("Nh2W"));
- function p(e) {
+ f = r("X24+"),
+ p = o(r("Nh2W"));
+ function d(e) {
if ("/" !== e[0])
throw new Error(
'Route name should start with a "/", got "'.concat(e, '"')
);
return "/" === e ? e : e.replace(/\/$/, "");
}
- var d = (function() {
+ var m = (function() {
function e(t, r) {
n(this, e),
(this.buildId = void 0),
@@ -1147,7 +1148,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(this.promisedSsgManifest = void 0),
(this.promisedDevPagesManifest = void 0),
(this.routeLoader = void 0),
- (this.routeLoader = (0, f.default)(r)),
+ (this.routeLoader = (0, p.default)(r)),
(this.buildId = t),
(this.assetPrefix = r),
(this.promisedSsgManifest = new Promise(function(e) {
@@ -1159,11 +1160,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}));
}
return (
- o(e, [
+ a(e, [
{
key: "getPageList",
value: function() {
- return (0, f.getClientBuildManifest)().then(function(e) {
+ return (0, p.getClientBuildManifest)().then(function(e) {
return e.sortedPages;
});
}
@@ -1171,31 +1172,34 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
{
key: "getDataHref",
value: function(e, t, r, n) {
- var o = this,
- a = (0, l.parseRelativeUrl)(e),
- i = a.pathname,
- f = a.query,
- d = a.search,
- m = (0, l.parseRelativeUrl)(t).pathname,
- h = p(i),
- v = function(e) {
- var t = (0, c.default)((0, u.addLocale)(e, n), ".json");
+ var a = this,
+ o = (0, l.parseRelativeUrl)(e),
+ i = o.pathname,
+ p = o.query,
+ m = o.search,
+ h = (0, l.parseRelativeUrl)(t).pathname,
+ v = d(i),
+ y = function(e) {
+ var t = (0, c.default)(
+ (0, f.removePathTrailingSlash)((0, u.addLocale)(e, n)),
+ ".json"
+ );
return (0, u.addBasePath)(
"/_next/data/"
- .concat(o.buildId)
+ .concat(a.buildId)
.concat(t)
- .concat(r ? "" : d)
+ .concat(r ? "" : m)
);
},
- y = (0, s.isDynamicRoute)(h),
- g = y ? (0, u.interpolateAs)(i, m, f).result : "";
- return y ? g && v(g) : v(h);
+ g = (0, s.isDynamicRoute)(v),
+ b = g ? (0, u.interpolateAs)(i, h, p).result : "";
+ return g ? b && y(b) : y(v);
}
},
{
key: "_isSsg",
value: function(e) {
- var t = p((0, l.parseRelativeUrl)(e).pathname);
+ var t = d((0, l.parseRelativeUrl)(e).pathname);
return this.promisedSsgManifest.then(function(e) {
return e.has(t);
});
@@ -1227,7 +1231,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e
);
})();
- t.default = d;
+ t.default = m;
}
},
[["BMP1", 0, 1, 2]]
Diff for index.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-5163c80e441908d54664.js"
+ href="/_next/static/chunks/main-ca602dc0284c748db089.js"
as="script"
/>
<link
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "hAJoZj2lZrZ1FeFSCiV-i",
+ "buildId": "b-qNqLY8gYQpqeXzJjOOQ",
"isFallback": false,
"gip": true
}
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-5163c80e441908d54664.js"
+ src="/_next/static/chunks/main-ca602dc0284c748db089.js"
async=""
></script>
<script
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_buildManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_ssgManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-5163c80e441908d54664.js"
+ href="/_next/static/chunks/main-ca602dc0284c748db089.js"
as="script"
/>
<link
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "hAJoZj2lZrZ1FeFSCiV-i",
+ "buildId": "b-qNqLY8gYQpqeXzJjOOQ",
"isFallback": false,
"gip": true
}
@@ -58,7 +58,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-5163c80e441908d54664.js"
+ src="/_next/static/chunks/main-ca602dc0284c748db089.js"
async=""
></script>
<script
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_buildManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_ssgManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-5163c80e441908d54664.js"
+ href="/_next/static/chunks/main-ca602dc0284c748db089.js"
as="script"
/>
<link
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "hAJoZj2lZrZ1FeFSCiV-i",
+ "buildId": "b-qNqLY8gYQpqeXzJjOOQ",
"isFallback": false,
"gip": true
}
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-5163c80e441908d54664.js"
+ src="/_next/static/chunks/main-ca602dc0284c748db089.js"
async=""
></script>
<script
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_buildManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/hAJoZj2lZrZ1FeFSCiV-i/_ssgManifest.js"
+ src="/_next/static/b-qNqLY8gYQpqeXzJjOOQ/_ssgManifest.js"
async=""
></script>
</body>
divmain
previously approved these changes
Mar 13, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Looks like there's a minor conflict with the tracing PR this week.
…efetch # Conflicts: # packages/next/build/index.ts
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 13.4s | 13.4s | -19ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.384 | 2.423 | |
/ avg req/sec | 1048.57 | 1031.97 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.547 | 1.564 | |
/error-in-render avg req/sec | 1616.14 | 1597.97 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.65 kB | 6.67 kB | |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.8 kB | 59.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | 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-c0d2c96..de48.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
index.html gzip | 612 B | 612 B | ✓ |
link.html gzip | 620 B | 620 B | ✓ |
withRouter.html gzip | 608 B | 608 B | ✓ |
Overall change | 1.84 kB | 1.84 kB | ✓ |
Diffs
Diff for main-HASH.js
@@ -1688,6 +1688,8 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _parseRelativeUrl = __webpack_require__("hS4m");
+ var _normalizeTrailingSlash = __webpack_require__("X24+");
+
var _routeLoader = _interopRequireWildcard(__webpack_require__("Nh2W"));
function normalizeRoute(route) {
@@ -1762,7 +1764,9 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var getHrefForSlug = function getHrefForSlug(path) {
var dataRoute = (0, _getAssetPathFromRoute["default"])(
- (0, _router.addLocale)(path, locale),
+ (0, _normalizeTrailingSlash.removePathTrailingSlash)(
+ (0, _router.addLocale)(path, locale)
+ ),
".json"
);
return (0, _router.addBasePath)(
Diff for index.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ href="/_next/static/chunks/main-eb42c88526972c70db6b.js"
as="script"
/>
<link
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ src="/_next/static/chunks/main-eb42c88526972c70db6b.js"
async=""
></script>
<script
Diff for link.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ href="/_next/static/chunks/main-eb42c88526972c70db6b.js"
as="script"
/>
<link
@@ -58,7 +58,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ src="/_next/static/chunks/main-eb42c88526972c70db6b.js"
async=""
></script>
<script
Diff for withRouter.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ href="/_next/static/chunks/main-eb42c88526972c70db6b.js"
as="script"
/>
<link
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-020d2be99297a5eb71a0.js"
></script>
<script
- src="/_next/static/chunks/main-9ae0350456cf2159c6f4.js"
+ src="/_next/static/chunks/main-eb42c88526972c70db6b.js"
async=""
></script>
<script
Serverless Mode (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 15.2s | 15.1s | -26ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
677f882d2ed8..a2e7.js gzip | 13.4 kB | 13.4 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-HASH.js gzip | 6.65 kB | 6.67 kB | |
webpack-HASH.js gzip | 751 B | 751 B | ✓ |
Overall change | 59.8 kB | 59.8 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | 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-c0d2c96..de48.js gzip | 1.67 kB | 1.67 kB | ✓ |
routerDirect..dc9d.js gzip | 303 B | 303 B | ✓ |
withRouter-6..0e02.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.66 kB | 8.66 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 347 B | 347 B | ✓ |
Overall change | 347 B | 347 B | ✓ |
Serverless bundles
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
buildDuration | 15.4s | 15.3s | -85ms |
nodeModulesSize | 42.8 MB | 42.8 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.428 | 2.359 | -0.07 |
/ avg req/sec | 1029.74 | 1059.73 | +29.99 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.608 | 1.638 | |
/error-in-render avg req/sec | 1554.37 | 1526.43 |
Client Bundles (main, webpack, commons) Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
597-2bc2376a..203d.js gzip | 13.3 kB | 13.3 kB | ✓ |
framework.HASH.js gzip | 39.3 kB | 39.3 kB | ✓ |
main-HASH.js gzip | 6.59 kB | 6.62 kB | |
webpack-HASH.js gzip | 954 B | 954 B | ✓ |
Overall change | 60.2 kB | 60.2 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | 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 | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_app-0c62a59..94b7.js gzip | 1.26 kB | 1.26 kB | ✓ |
_error-97d24..ed28.js gzip | 3.38 kB | 3.38 kB | ✓ |
amp-2926e4c2..9ccc.js gzip | 536 B | 536 B | ✓ |
hooks-1ed65b..8908.js gzip | 902 B | 902 B | ✓ |
index-6259b6..77d8.js gzip | 230 B | 230 B | ✓ |
link-b722682..14a4.js gzip | 1.65 kB | 1.65 kB | ✓ |
routerDirect..862a.js gzip | 306 B | 306 B | ✓ |
withRouter-4..76fd.js gzip | 302 B | 302 B | ✓ |
Overall change | 8.57 kB | 8.57 kB | ✓ |
Client Build Manifests
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
Overall change | 322 B | 322 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | ijjk/next.js fix/i18n-index-prefetch | Change | |
---|---|---|---|
index.html gzip | 586 B | 587 B | |
link.html gzip | 593 B | 593 B | ✓ |
withRouter.html gzip | 579 B | 580 B | |
Overall change | 1.76 kB | 1.76 kB |
Diffs
Diff for main-HASH.js
@@ -76,10 +76,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var t = n[e.type] || [];
t.push(e), (n[e.type] = t);
});
- var a = n.title ? n.title[0] : null,
+ var o = n.title ? n.title[0] : null,
i = "";
- if (a) {
- var u = a.props.children;
+ if (o) {
+ var u = o.props.children;
i =
"string" === typeof u
? u
@@ -95,15 +95,15 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n = r.querySelector("meta[name=next-head-count]");
0;
for (
- var a = Number(n.content),
+ var o = Number(n.content),
i = [],
u = 0,
c = n.previousElementSibling;
- u < a;
+ u < o;
u++, c = c.previousElementSibling
)
c.tagName.toLowerCase() === e && i.push(c);
- var s = t.map(o).filter(function(e) {
+ var s = t.map(a).filter(function(e) {
for (var t = 0, r = i.length; t < r; t++) {
if (i[t].isEqualNode(e))
return i.splice(t, 1), !1;
@@ -116,7 +116,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
s.forEach(function(e) {
return r.insertBefore(e, n);
}),
- (n.content = (a - i.length + s.length).toString());
+ (n.content = (o - i.length + s.length).toString());
})(e, n[e] || []);
}
);
@@ -133,32 +133,32 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
httpEquiv: "http-equiv",
noModule: "noModule"
};
- function o(e) {
+ function a(e) {
var t = e.type,
r = e.props,
- o = document.createElement(t);
- for (var a in r)
+ a = document.createElement(t);
+ for (var o in r)
if (
- r.hasOwnProperty(a) &&
- "children" !== a &&
- "dangerouslySetInnerHTML" !== a &&
- void 0 !== r[a]
+ r.hasOwnProperty(o) &&
+ "children" !== o &&
+ "dangerouslySetInnerHTML" !== o &&
+ void 0 !== r[o]
) {
- var i = n[a] || a.toLowerCase();
+ var i = n[o] || o.toLowerCase();
"script" !== t ||
("async" !== i && "defer" !== i && "noModule" !== i)
- ? o.setAttribute(i, r[a])
- : (o[i] = !!r[a]);
+ ? a.setAttribute(i, r[o])
+ : (a[i] = !!r[o]);
}
var u = r.children,
c = r.dangerouslySetInnerHTML;
return (
c
- ? (o.innerHTML = c.__html || "")
+ ? (a.innerHTML = c.__html || "")
: u &&
- (o.textContent =
+ (a.textContent =
"string" === typeof u ? u : Array.isArray(u) ? u.join("") : ""),
- o
+ a
);
}
t.DOMAttributeNames = n;
@@ -167,17 +167,17 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
"use strict";
var n;
(t.__esModule = !0), (t.HeadManagerContext = void 0);
- var o = ((n = r("q1tI")) && n.__esModule
+ var a = ((n = r("q1tI")) && n.__esModule
? n
: { default: n }
).default.createContext({});
- t.HeadManagerContext = o;
+ t.HeadManagerContext = a;
},
IKlv: function(e, t, r) {
"use strict";
var n = r("o0o1"),
- o = r("yXPU"),
- a = r("lwsE"),
+ a = r("yXPU"),
+ o = r("lwsE"),
i = r("W8MJ"),
u = r("7W2i"),
c = r("a1gu"),
@@ -203,8 +203,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var r,
n = s(e);
if (t) {
- var o = s(this).constructor;
- r = Reflect.construct(n, arguments, o);
+ var a = s(this).constructor;
+ r = Reflect.construct(n, arguments, a);
} else r = n.apply(this, arguments);
return c(this, r);
};
@@ -212,7 +212,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var p = r("284h"),
d = r("TqRt");
(t.__esModule = !0),
- (t.render = ae),
+ (t.render = oe),
(t.renderError = ue),
(t.default = t.emitter = t.router = t.version = void 0);
var m = d(r("pVnL"));
@@ -284,7 +284,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
u(r, e);
var t = f(r);
function r() {
- return a(this, r), t.apply(this, arguments);
+ return o(this, r), t.apply(this, arguments);
}
return (
i(r, [
@@ -349,12 +349,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})(h.default.Component),
ne = (0, g.default)();
t.emitter = ne;
- var oe = (function() {
- var e = o(
+ var ae = (function() {
+ var e = a(
n.mark(function e() {
var r,
- o,
a,
+ o,
i,
u,
c,
@@ -376,16 +376,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}
throw r.error;
case 7:
- (o = r.component),
- (a = r.exports),
- (Z = o),
- a &&
- a.reportWebVitals &&
+ (a = r.component),
+ (o = r.exports),
+ (Z = a),
+ o &&
+ o.reportWebVitals &&
(K = function(e) {
var t,
r = e.id,
n = e.name,
- o = e.startTime,
+ a = e.startTime,
i = e.value,
u = e.duration,
c = e.entryType,
@@ -397,10 +397,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
1e12
);
s && s.length && (t = s[0].startTime),
- a.reportWebVitals({
+ o.reportWebVitals({
id: r || l,
name: n,
- startTime: o || t,
+ startTime: a || t,
value: null == i ? u : i,
label:
"mark" === c || "measure" === c
@@ -447,7 +447,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
err: i,
isFallback: Boolean(B),
subscription: function(e, t, r) {
- return ae(
+ return oe(
Object.assign({}, e, { App: t, scroll: r })
);
},
@@ -457,7 +457,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
domainLocales: X,
isPreview: G
})),
- ae(
+ oe(
(c = {
App: Z,
initial: !0,
@@ -471,7 +471,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
case 44:
return e.abrupt("return", {
emitter: ne,
- render: ae,
+ render: oe,
renderCtx: c
});
case 45:
@@ -489,11 +489,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return e.apply(this, arguments);
};
})();
- function ae(e) {
+ function oe(e) {
return ie.apply(this, arguments);
}
function ie() {
- return (ie = o(
+ return (ie = a(
n.mark(function e(t) {
return n.wrap(
function(e) {
@@ -542,11 +542,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return (
console.error(r),
Y.loadPage("/_error").then(function(n) {
- var o = n.page,
- a = n.styleSheets,
+ var a = n.page,
+ o = n.styleSheets,
i = me(t),
u = {
- Component: o,
+ Component: a,
AppTree: i,
router: Q,
ctx: { err: r, pathname: R, query: F, asPath: U, AppTree: i }
@@ -557,8 +557,8 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
return he(
(0, m.default)({}, e, {
err: r,
- Component: o,
- styleSheets: a,
+ Component: a,
+ styleSheets: o,
props: t
})
);
@@ -566,7 +566,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
})
);
}
- t.default = oe;
+ t.default = ae;
var ce = "function" === typeof v.default.hydrate;
function se() {
x.ST &&
@@ -656,10 +656,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
var t = e.App,
r = e.Component,
n = e.props,
- o = e.err,
- a = "initial" in e ? void 0 : e.styleSheets;
+ a = e.err,
+ o = "initial" in e ? void 0 : e.styleSheets;
(r = r || de.Component), (n = n || de.props);
- var i = (0, m.default)({}, n, { Component: r, err: o, router: Q });
+ var i = (0, m.default)({}, n, { Component: r, err: a, router: Q });
de = i;
var u,
c = !1,
@@ -685,10 +685,10 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
h.default.createElement(ye, {
callback: function() {
- if (a && !c) {
+ if (o && !c) {
for (
var t = new Set(
- a.map(function(e) {
+ o.map(function(e) {
return e.href;
})
),
@@ -696,16 +696,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
n = r.map(function(e) {
return e.getAttribute("data-n-href");
}),
- o = 0;
- o < n.length;
- ++o
+ a = 0;
+ a < n.length;
+ ++a
)
- t.has(n[o])
- ? r[o].removeAttribute("media")
- : r[o].setAttribute("media", "x");
+ t.has(n[a])
+ ? r[a].removeAttribute("media")
+ : r[a].setAttribute("media", "x");
var i = document.querySelector("noscript[data-n-css]");
i &&
- a.forEach(function(e) {
+ o.forEach(function(e) {
var t = e.href,
r = document.querySelector(
'style[data-n-href="'.concat(t, '"]')
@@ -727,7 +727,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
);
return (
(function() {
- if (!a) return !1;
+ if (!o) return !1;
var e = C(document.querySelectorAll("style[data-n-href]")),
t = new Set(
e.map(function(e) {
@@ -736,16 +736,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
),
r = document.querySelector("noscript[data-n-css]"),
n = null == r ? void 0 : r.getAttribute("data-n-css");
- a.forEach(function(e) {
+ o.forEach(function(e) {
var r = e.href,
- o = e.text;
+ a = e.text;
if (!t.has(r)) {
- var a = document.createElement("style");
- a.setAttribute("data-n-href", r),
- a.setAttribute("media", "x"),
- n && a.setAttribute("nonce", n),
- document.head.appendChild(a),
- a.appendChild(document.createTextNode(o));
+ var o = document.createElement("style");
+ o.setAttribute("data-n-href", r),
+ o.setAttribute("media", "x"),
+ n && o.setAttribute("nonce", n),
+ document.head.appendChild(o),
+ o.appendChild(document.createTextNode(a));
}
});
})(),
@@ -811,29 +811,29 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
},
a1gu: function(e, t, r) {
var n = r("cDf5"),
- o = r("PJYZ");
+ a = r("PJYZ");
e.exports = function(e, t) {
- return !t || ("object" !== n(t) && "function" !== typeof t) ? o(e) : t;
+ return !t || ("object" !== n(t) && "function" !== typeof t) ? a(e) : t;
};
},
bGXG: function(e, t, r) {
"use strict";
(t.__esModule = !0), (t.default = void 0);
var n,
- o = r("p0hA"),
- a = (location.href, !1);
+ a = r("p0hA"),
+ o = (location.href, !1);
function i(e) {
n && n(e);
}
t.default = function(e) {
(n = e),
- a ||
- ((a = !0),
- (0, o.getCLS)(i),
- (0, o.getFID)(i),
- (0, o.getFCP)(i),
- (0, o.getLCP)(i),
- (0, o.getTTFB)(i));
+ o ||
+ ((o = !0),
+ (0, a.getCLS)(i),
+ (0, a.getFID)(i),
+ (0, a.getFCP)(i),
+ (0, a.getLCP)(i),
+ (0, a.getTTFB)(i));
};
},
p0hA: function(e, t, r) {
@@ -852,7 +852,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
Math.floor(8999999999999 * Math.random()) + 1e12
);
},
- o = function(e) {
+ a = function(e) {
return {
name: e,
value:
@@ -865,7 +865,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
isFinal: !1
};
},
- a = function(e, t) {
+ o = function(e, t) {
try {
if (
PerformanceObserver.supportedEntryTypes.includes(e)
@@ -903,16 +903,16 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
);
},
f = function(e, t, r, n) {
- var o;
+ var a;
return function() {
r && t.isFinal && r.disconnect(),
t.value >= 0 &&
(n ||
t.isFinal ||
"hidden" === document.visibilityState) &&
- ((t.delta = t.value - (o || 0)),
- (t.delta || t.isFinal || void 0 === o) &&
- (e(t), (o = t.value)));
+ ((t.delta = t.value - (a || 0)),
+ (t.delta || t.isFinal || void 0 === a) &&
+ (e(t), (a = t.value)));
};
},
p = function() {
@@ -954,12 +954,12 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
- n = o("CLS", 0),
+ n = a("CLS", 0),
i = function(e) {
e.hadRecentInput ||
((n.value += e.value), n.entries.push(e), t());
},
- u = a("layout-shift", i);
+ u = o("layout-shift", i);
u &&
((t = f(e, n, u, r)),
l(function(e) {
@@ -969,9 +969,9 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}),
(e.getFCP = function(e) {
var t,
- r = o("FCP"),
+ r = a("FCP"),
n = p(),
- i = a("paint", function(e) {
+ i = o("paint", function(e) {
"first-contentful-paint" === e.name &&
e.startTime < n.timeStamp &&
((r.value = e.startTime),
@@ -982,7 +982,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
i && (t = f(e, r, i));
}),
(e.getFID = function(e) {
- var t = o("FID"),
+ var t = a("FID"),
r = p(),
n = function(e) {
e.startTime < r.timeStamp &&
@@ -991,7 +991,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(t.isFinal = !0),
u());
},
- i = a("first-input", n),
+ i = o("first-input", n),
u = f(e, t, i);
i
? l(function() {
@@ -1022,7 +1022,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
arguments.length > 1 &&
void 0 !== arguments[1] &&
arguments[1],
- n = o("LCP"),
+ n = a("LCP"),
i = p(),
u = function(e) {
var r = e.startTime;
@@ -1031,7 +1031,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
: (n.isFinal = !0),
t();
},
- c = a("largest-contentful-paint", u);
+ c = o("largest-contentful-paint", u);
if (c) {
t = f(e, n, c, r);
var s = function() {
@@ -1043,7 +1043,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}),
(e.getTTFB = function(e) {
var t,
- r = o("TTFB");
+ r = a("TTFB");
(t = function() {
try {
var t =
@@ -1077,14 +1077,14 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
r = {};
function n(t) {
if (r[t]) return r[t].exports;
- var o = (r[t] = { exports: {} }),
- a = !0;
+ var a = (r[t] = { exports: {} }),
+ o = !0;
try {
- e[t].call(o.exports, o, o.exports, n), (a = !1);
+ e[t].call(a.exports, a, a.exports, n), (o = !1);
} finally {
- a && delete r[t];
+ o && delete r[t];
}
- return o.exports;
+ return a.exports;
}
return (n.ab = t + "/"), n(599);
})();
@@ -1123,23 +1123,24 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
zmvN: function(e, t, r) {
"use strict";
var n = r("lwsE"),
- o = r("W8MJ"),
- a = r("284h"),
+ a = r("W8MJ"),
+ o = r("284h"),
i = r("TqRt");
(t.__esModule = !0), (t.default = void 0);
var u = r("elyg"),
c = i(r("Lab5")),
s = r("/jkW"),
l = r("hS4m"),
- f = a(r("Nh2W"));
- function p(e) {
+ f = r("X24+"),
+ p = o(r("Nh2W"));
+ function d(e) {
if ("/" !== e[0])
throw new Error(
'Route name should start with a "/", got "'.concat(e, '"')
);
return "/" === e ? e : e.replace(/\/$/, "");
}
- var d = (function() {
+ var m = (function() {
function e(t, r) {
n(this, e),
(this.buildId = void 0),
@@ -1147,7 +1148,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
(this.promisedSsgManifest = void 0),
(this.promisedDevPagesManifest = void 0),
(this.routeLoader = void 0),
- (this.routeLoader = (0, f.default)(r)),
+ (this.routeLoader = (0, p.default)(r)),
(this.buildId = t),
(this.assetPrefix = r),
(this.promisedSsgManifest = new Promise(function(e) {
@@ -1159,11 +1160,11 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
}));
}
return (
- o(e, [
+ a(e, [
{
key: "getPageList",
value: function() {
- return (0, f.getClientBuildManifest)().then(function(e) {
+ return (0, p.getClientBuildManifest)().then(function(e) {
return e.sortedPages;
});
}
@@ -1171,31 +1172,34 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
{
key: "getDataHref",
value: function(e, t, r, n) {
- var o = this,
- a = (0, l.parseRelativeUrl)(e),
- i = a.pathname,
- f = a.query,
- d = a.search,
- m = (0, l.parseRelativeUrl)(t).pathname,
- h = p(i),
- v = function(e) {
- var t = (0, c.default)((0, u.addLocale)(e, n), ".json");
+ var a = this,
+ o = (0, l.parseRelativeUrl)(e),
+ i = o.pathname,
+ p = o.query,
+ m = o.search,
+ h = (0, l.parseRelativeUrl)(t).pathname,
+ v = d(i),
+ y = function(e) {
+ var t = (0, c.default)(
+ (0, f.removePathTrailingSlash)((0, u.addLocale)(e, n)),
+ ".json"
+ );
return (0, u.addBasePath)(
"/_next/data/"
- .concat(o.buildId)
+ .concat(a.buildId)
.concat(t)
- .concat(r ? "" : d)
+ .concat(r ? "" : m)
);
},
- y = (0, s.isDynamicRoute)(h),
- g = y ? (0, u.interpolateAs)(i, m, f).result : "";
- return y ? g && v(g) : v(h);
+ g = (0, s.isDynamicRoute)(v),
+ b = g ? (0, u.interpolateAs)(i, h, p).result : "";
+ return g ? b && y(b) : y(v);
}
},
{
key: "_isSsg",
value: function(e) {
- var t = p((0, l.parseRelativeUrl)(e).pathname);
+ var t = d((0, l.parseRelativeUrl)(e).pathname);
return this.promisedSsgManifest.then(function(e) {
return e.has(t);
});
@@ -1227,7 +1231,7 @@ _N_E = (window.webpackJsonp_N_E = window.webpackJsonp_N_E || []).push([
e
);
})();
- t.default = d;
+ t.default = m;
}
},
[["BMP1", 0, 1, 2]]
Diff for index.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ href="/_next/static/chunks/main-684a2ed058df16cae6af.js"
as="script"
/>
<link
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/",
"query": {},
- "buildId": "RFLwBIvV2r51LXKp2hf3e",
+ "buildId": "eDO3KdGIwvHhl74R4HUI-",
"isFallback": false,
"gip": true
}
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ src="/_next/static/chunks/main-684a2ed058df16cae6af.js"
async=""
></script>
<script
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_buildManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_ssgManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_ssgManifest.js"
async=""
></script>
</body>
Diff for link.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ href="/_next/static/chunks/main-684a2ed058df16cae6af.js"
as="script"
/>
<link
@@ -48,7 +48,7 @@
"props": { "pageProps": {} },
"page": "/link",
"query": {},
- "buildId": "RFLwBIvV2r51LXKp2hf3e",
+ "buildId": "eDO3KdGIwvHhl74R4HUI-",
"isFallback": false,
"gip": true
}
@@ -58,7 +58,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ src="/_next/static/chunks/main-684a2ed058df16cae6af.js"
async=""
></script>
<script
@@ -82,11 +82,11 @@
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_buildManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_ssgManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_ssgManifest.js"
async=""
></script>
</body>
Diff for withRouter.html
@@ -7,7 +7,7 @@
<noscript data-n-css=""></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ href="/_next/static/chunks/main-684a2ed058df16cae6af.js"
as="script"
/>
<link
@@ -43,7 +43,7 @@
"props": { "pageProps": {} },
"page": "/withRouter",
"query": {},
- "buildId": "RFLwBIvV2r51LXKp2hf3e",
+ "buildId": "eDO3KdGIwvHhl74R4HUI-",
"isFallback": false,
"gip": true
}
@@ -53,7 +53,7 @@
src="/_next/static/chunks/polyfills-ff94e68042added27a93.js"
></script>
<script
- src="/_next/static/chunks/main-749a7feea2b3de449a8c.js"
+ src="/_next/static/chunks/main-684a2ed058df16cae6af.js"
async=""
></script>
<script
@@ -77,11 +77,11 @@
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_buildManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_buildManifest.js"
async=""
></script>
<script
- src="/_next/static/RFLwBIvV2r51LXKp2hf3e/_ssgManifest.js"
+ src="/_next/static/eDO3KdGIwvHhl74R4HUI-/_ssgManifest.js"
async=""
></script>
</body>
timneutkens
approved these changes
Mar 14, 2021
This was referenced Mar 15, 2021
Merged
This was referenced Mar 16, 2021
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.
This fixes index data route loading for i18n with
trailingSlash: true
enabled and also fixes prerenderingasPath
values not containing a trailingSlash when enabled.Fixes: #17813
Fixes: #22747