-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Expose WASM bindings in Middleware #34437
Conversation
338251b
to
08d1596
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
3ae5fdf
to
8884d0a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
efb78d1
to
b49f047
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
10701c5
to
666a13a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
666a13a
to
f09074e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
packages/next/build/webpack/loaders/next-middleware-wasm-loader.ts
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
||
export const raw = true | ||
|
||
function sha1(source: string | Buffer) { |
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.
Would it better to use xxhash64
from webpack/lib/util/createHash
? /cc @sokra
@@ -1529,6 +1530,14 @@ export default async function getBaseWebpackConfig( | |||
|
|||
const webpack5Config = webpackConfig as webpack5.Configuration | |||
|
|||
webpack5Config.module!.rules!.unshift({ | |||
test: /\.wasm$/, |
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.
Do we want to prefix this? Otherwise its going to change all wasm imports instead of just middleware, right?
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.
I think the secret sauce is issuerLayer
which should only affect the middleware layer
2dd0134
to
05915ac
Compare
Failing test suitesCommit: 05915ac
Expand output● should set-up next › should have built and started
● Test suite failed to run
Read more about building and testing Next.js in contributing.md. |
This comment has been minimized.
This comment has been minimized.
The tests fail because of it for some reason: ./node_modules/next/types/index.d.ts:209:5 Type error: Overload signatures must all be optional or required. 207 | array: T 208 | ): T > 209 | randomUUID?(): string | ^ 210 | } 211 | } 212 |
Co-authored-by: Steven <steven@ceriously.com>
This reverts commit a2a6c96.
05915ac
to
7bdd4e2
Compare
This comment has been minimized.
This comment has been minimized.
Stats from current PRDefault Build (Increase detected
|
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
buildDuration | 21.4s | 21.7s | |
buildDurationCached | 8.2s | 8.3s | |
nodeModulesSize | 372 MB | 372 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 4.482 | 4.467 | -0.02 |
/ avg req/sec | 557.81 | 559.61 | +1.8 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 2.188 | 2.185 | 0 |
/error-in-render avg req/sec | 1142.83 | 1144.09 | +1.26 |
Client Bundles (main, webpack) Overall decrease ✓
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
450.HASH.js gzip | 179 B | 179 B | ✓ |
framework-HASH.js gzip | 42 kB | 42 kB | ✓ |
main-HASH.js gzip | 27.9 kB | 27.9 kB | -1 B |
webpack-HASH.js gzip | 1.44 kB | 1.44 kB | ✓ |
Overall change | 71.5 kB | 71.5 kB | -1 B |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
_app-HASH.js gzip | 1.36 kB | 1.36 kB | -2 B |
_error-HASH.js gzip | 194 B | 192 B | -2 B |
amp-HASH.js gzip | 312 B | 309 B | -3 B |
css-HASH.js gzip | 326 B | 327 B | |
dynamic-HASH.js gzip | 2.57 kB | 2.57 kB | |
head-HASH.js gzip | 350 B | 351 B | |
hooks-HASH.js gzip | 919 B | 920 B | |
image-HASH.js gzip | 5.05 kB | 5.05 kB | |
index-HASH.js gzip | 263 B | 263 B | ✓ |
link-HASH.js gzip | 2.26 kB | 2.26 kB | |
routerDirect..HASH.js gzip | 321 B | 320 B | -1 B |
script-HASH.js gzip | 383 B | 387 B | |
withRouter-HASH.js gzip | 318 B | 319 B | |
85e02e95b279..7e3.css gzip | 107 B | 107 B | ✓ |
Overall change | 14.7 kB | 14.7 kB |
Client Build Manifests
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
_buildManifest.js gzip | 459 B | 459 B | ✓ |
Overall change | 459 B | 459 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
index.html gzip | 531 B | 533 B | |
link.html gzip | 544 B | 546 B | |
withRouter.html gzip | 526 B | 527 B | |
Overall change | 1.6 kB | 1.61 kB |
Diffs
Diff for _buildManifest.js
@@ -1,25 +1,25 @@
self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-22405fb865808942.js"],
- "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-97db2c91e74bb63f.js"],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-8c7b17a56b7abb6e.js"],
+ "/": ["static\u002Fchunks\u002Fpages\u002Findex-7dee323746710646.js"],
+ "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-5d03de5a43fe90da.js"],
+ "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-ee9dddb806ed55d7.js"],
"/css": [
"static\u002Fcss\u002F94fdbc56eafa2039.css",
- "static\u002Fchunks\u002Fpages\u002Fcss-97182c5b8324021a.js"
+ "static\u002Fchunks\u002Fpages\u002Fcss-9b653f909589c123.js"
],
"/dynamic": [
- "static\u002Fchunks\u002Fpages\u002Fdynamic-f3926a2125ec78d2.js"
+ "static\u002Fchunks\u002Fpages\u002Fdynamic-3806562e6d80e46f.js"
],
- "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-7100d3b2a548f0e4.js"],
- "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e46f7cf4e561503a.js"],
- "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-bd830310f23f09be.js"],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
+ "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-35c32b80abf212d2.js"],
+ "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-8642d114a09c62c5.js"],
+ "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-21c1812d1ebeffa4.js"],
+ "/link": ["static\u002Fchunks\u002Fpages\u002Flink-0b3d72804dab6202.js"],
"/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
+ "static\u002Fchunks\u002Fpages\u002FrouterDirect-00527c3f2207a902.js"
],
- "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-52713a82413f16bb.js"],
+ "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-f50930661875bacc.js"],
"/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-50f69b5840cc7abf.js"
+ "static\u002Fchunks\u002Fpages\u002FwithRouter-7a9c69580d45a83a.js"
],
sortedPages: [
"\u002F",
Diff for _app-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return __webpack_require__(6029);
+ return __webpack_require__(4297);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6029: /***/ function(
+ /***/ 4297: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -153,7 +153,7 @@
});
exports["default"] = void 0;
var _react = _interopRequireDefault1(__webpack_require__(7294));
- var _utils = __webpack_require__(3794);
+ var _utils = __webpack_require__(670);
function asyncGeneratorStep(
gen,
resolve,
@@ -282,7 +282,7 @@
return __webpack_require__((__webpack_require__.s = moduleId));
};
/******/ __webpack_require__.O(0, [774, 179], function() {
- return __webpack_exec__(915), __webpack_exec__(387);
+ return __webpack_exec__(915), __webpack_exec__(880);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
Diff for _error-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_error",
function() {
- return __webpack_require__(9185);
+ return __webpack_require__(67);
}
]);
if (false) {
Diff for amp-HASH.js
@@ -6,7 +6,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(3240);
+ module.exports = __webpack_require__(1686);
/***/
},
@@ -19,7 +19,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/amp",
function() {
- return __webpack_require__(1910);
+ return __webpack_require__(8774);
}
]);
if (false) {
@@ -28,7 +28,7 @@
/***/
},
- /***/ 1910: /***/ function(
+ /***/ 8774: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for css-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/css",
function() {
- return __webpack_require__(5089);
+ return __webpack_require__(767);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5089: /***/ function(
+ /***/ 767: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -29,7 +29,7 @@
5893
);
/* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- 1785
+ 692
);
/* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
_css_module_css__WEBPACK_IMPORTED_MODULE_1__
@@ -48,7 +48,7 @@
/***/
},
- /***/ 1785: /***/ function(module) {
+ /***/ 692: /***/ function(module) {
// extracted by mini-css-extract-plugin
module.exports = { helloWorld: "css_helloWorld__qqNwY" };
Diff for dynamic-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/dynamic",
function() {
- return __webpack_require__(3286);
+ return __webpack_require__(3370);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 638: /***/ function(
+ /***/ 7645: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -73,7 +73,7 @@
__webpack_unused_export__ = noSSR;
exports["default"] = dynamic;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _loadable = _interopRequireDefault(__webpack_require__(4302));
+ var _loadable = _interopRequireDefault(__webpack_require__(4588));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -168,7 +168,7 @@
/***/
},
- /***/ 6319: /***/ function(
+ /***/ 3644: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -195,7 +195,7 @@
/***/
},
- /***/ 4302: /***/ function(
+ /***/ 4588: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -257,7 +257,7 @@
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
var _useSubscription = __webpack_require__(7161);
- var _loadableContext = __webpack_require__(6319);
+ var _loadableContext = __webpack_require__(3644);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -570,7 +570,7 @@
/***/
},
- /***/ 3286: /***/ function(
+ /***/ 3370: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -594,13 +594,13 @@
next_dynamic__WEBPACK_IMPORTED_MODULE_1__["default"])(
function() {
return __webpack_require__
- .e(/* import() */ 450)
- .then(__webpack_require__.bind(__webpack_require__, 6450));
+ .e(/* import() */ 925)
+ .then(__webpack_require__.bind(__webpack_require__, 3925));
},
{
loadableGenerated: {
webpack: function() {
- return [/*require.resolve*/ 6450];
+ return [/*require.resolve*/ 3925];
}
}
}
@@ -635,7 +635,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(638);
+ module.exports = __webpack_require__(7645);
/***/
},
Diff for head-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/head",
function() {
- return __webpack_require__(5423);
+ return __webpack_require__(6646);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5423: /***/ function(
+ /***/ 6646: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -73,7 +73,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(5443);
+ module.exports = __webpack_require__(3121);
/***/
}
Diff for hooks-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return __webpack_require__(5017);
+ return __webpack_require__(2297);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5017: /***/ function(
+ /***/ 2297: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for image-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/image",
function() {
- return __webpack_require__(3155);
+ return __webpack_require__(3143);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 8045: /***/ function(
+ /***/ 9749: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -128,11 +128,11 @@
};
exports["default"] = Image;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _head = _interopRequireDefault(__webpack_require__(5443));
- var _imageConfig = __webpack_require__(9309);
- var _useIntersection = __webpack_require__(7190);
- var _imageConfigContext = __webpack_require__(9977);
- var _utils = __webpack_require__(3794);
+ var _head = _interopRequireDefault(__webpack_require__(3121));
+ var _imageConfig = __webpack_require__(139);
+ var _useIntersection = __webpack_require__(9246);
+ var _imageConfigContext = __webpack_require__(8730);
+ var _utils = __webpack_require__(670);
function _defineProperty1(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
@@ -919,7 +919,7 @@
/***/
},
- /***/ 7190: /***/ function(
+ /***/ 9246: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -992,7 +992,7 @@
});
exports.useIntersection = useIntersection;
var _react = __webpack_require__(7294);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
var hasIntersectionObserver = typeof IntersectionObserver !== "undefined";
function useIntersection(param) {
var rootRef = param.rootRef,
@@ -1124,7 +1124,7 @@
/***/
},
- /***/ 3155: /***/ function(
+ /***/ 3143: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -1178,7 +1178,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(8045);
+ module.exports = __webpack_require__(9749);
/***/
}
Diff for index-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/",
function() {
- return __webpack_require__(3678);
+ return __webpack_require__(4369);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 3678: /***/ function(
+ /***/ 4369: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for link-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/link",
function() {
- return __webpack_require__(4380);
+ return __webpack_require__(9798);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 8418: /***/ function(
+ /***/ 1551: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -100,9 +100,9 @@
};
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(6273);
- var _router1 = __webpack_require__(387);
- var _useIntersection = __webpack_require__(7190);
+ var _router = __webpack_require__(1003);
+ var _router1 = __webpack_require__(880);
+ var _useIntersection = __webpack_require__(9246);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -322,7 +322,7 @@
/***/
},
- /***/ 7190: /***/ function(
+ /***/ 9246: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -395,7 +395,7 @@
});
exports.useIntersection = useIntersection;
var _react = __webpack_require__(7294);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
var hasIntersectionObserver = typeof IntersectionObserver !== "undefined";
function useIntersection(param) {
var rootRef = param.rootRef,
@@ -527,7 +527,7 @@
/***/
},
- /***/ 4380: /***/ function(
+ /***/ 9798: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -577,7 +577,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(8418);
+ module.exports = __webpack_require__(1551);
/***/
}
Diff for routerDirect-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/routerDirect",
function() {
- return __webpack_require__(6870);
+ return __webpack_require__(1271);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6870: /***/ function(
+ /***/ 1271: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -59,7 +59,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(387);
+ module.exports = __webpack_require__(880);
/***/
}
Diff for script-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/script",
function() {
- return __webpack_require__(549);
+ return __webpack_require__(6103);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 549: /***/ function(
+ /***/ 6103: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -72,7 +72,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(699);
+ module.exports = __webpack_require__(3573);
/***/
}
Diff for withRouter-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/withRouter",
function() {
- return __webpack_require__(5330);
+ return __webpack_require__(8374);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5330: /***/ function(
+ /***/ 8374: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -56,7 +56,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(387);
+ module.exports = __webpack_require__(880);
/***/
}
Diff for 450.HASH.js
@@ -1,8 +1,8 @@
"use strict";
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
- [450],
+ [925],
{
- /***/ 6450: /***/ function(
+ /***/ 3925: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for main-HASH.js
@@ -57,7 +57,7 @@
/***/
},
- /***/ 6007: /***/ function(__unused_webpack_module, exports) {
+ /***/ 1831: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _instanceof(left, right) {
@@ -244,7 +244,7 @@
/***/
},
- /***/ 7339: /***/ function(
+ /***/ 4534: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -455,26 +455,26 @@
__webpack_require__(37);
var _react = _interopRequireWildcard1(__webpack_require__(7294));
var _reactDom = _interopRequireDefault1(__webpack_require__(3935));
- var _headManagerContext = __webpack_require__(8404);
- var _mitt = _interopRequireDefault1(__webpack_require__(5660));
- var _routerContext = __webpack_require__(3462);
- var _router = __webpack_require__(6273);
- var _isDynamic = __webpack_require__(8689);
- var _querystring = __webpack_require__(466);
- var _runtimeConfig = __webpack_require__(8027);
- var _utils = __webpack_require__(3794);
- var _portal = __webpack_require__(2207);
- var _headManager = _interopRequireDefault1(__webpack_require__(6007));
- var _pageLoader = _interopRequireDefault1(__webpack_require__(5181));
+ var _headManagerContext = __webpack_require__(4664);
+ var _mitt = _interopRequireDefault1(__webpack_require__(8550));
+ var _routerContext = __webpack_require__(2692);
+ var _router = __webpack_require__(1003);
+ var _isDynamic = __webpack_require__(6238);
+ var _querystring = __webpack_require__(4919);
+ var _runtimeConfig = __webpack_require__(6949);
+ var _utils = __webpack_require__(670);
+ var _portal = __webpack_require__(7345);
+ var _headManager = _interopRequireDefault1(__webpack_require__(1831));
+ var _pageLoader = _interopRequireDefault1(__webpack_require__(976));
var _performanceRelayer = _interopRequireDefault1(
- __webpack_require__(9302)
+ __webpack_require__(659)
);
- var _routeAnnouncer = __webpack_require__(8982);
- var _router1 = __webpack_require__(387);
+ var _routeAnnouncer = __webpack_require__(8483);
+ var _router1 = __webpack_require__(880);
var _isError = __webpack_require__(676);
- var _vitals = __webpack_require__(5834);
- var _refresh = __webpack_require__(9831);
- var _imageConfigContext = __webpack_require__(9977);
+ var _vitals = __webpack_require__(7185);
+ var _refresh = __webpack_require__(2129);
+ var _imageConfigContext = __webpack_require__(8730);
function asyncGeneratorStep(
gen,
resolve,
@@ -671,7 +671,7 @@
normalizeLocalePath;
}
if (data.scriptLoader) {
- var initScriptLoader = __webpack_require__(699) /* .initScriptLoader */
+ var initScriptLoader = __webpack_require__(3573) /* .initScriptLoader */
.z;
initScriptLoader(data.scriptLoader);
}
@@ -1086,7 +1086,7 @@
: lastAppProps.Component) === ErrorComponent
? Promise.resolve()
.then(function() {
- return _interopRequireWildcard(__webpack_require__(9185));
+ return _interopRequireWildcard(__webpack_require__(67));
})
.then(function(m) {
return {
@@ -1498,14 +1498,14 @@
/***/
},
- /***/ 2870: /***/ function(
+ /***/ 1783: /***/ function(
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
) {
"use strict";
- var _ = __webpack_require__(7339);
+ var _ = __webpack_require__(4534);
window.next = {
version: _.version,
// router is initialized later so it has to be live-binded
@@ -1519,7 +1519,7 @@
/***/
},
- /***/ 2392: /***/ function(__unused_webpack_module, exports) {
+ /***/ 2700: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -1536,7 +1536,7 @@
/***/
},
- /***/ 5181: /***/ function(
+ /***/ 976: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1566,14 +1566,14 @@
value: true
});
exports["default"] = void 0;
- var _router = __webpack_require__(6273);
+ var _router = __webpack_require__(1003);
var _getAssetPathFromRoute = _interopRequireDefault(
- __webpack_require__(3891)
+ __webpack_require__(7929)
);
- var _isDynamic = __webpack_require__(8689);
- var _parseRelativeUrl = __webpack_require__(6305);
- var _normalizeTrailingSlash = __webpack_require__(2392);
- var _routeLoader = __webpack_require__(2669);
+ var _isDynamic = __webpack_require__(6238);
+ var _parseRelativeUrl = __webpack_require__(2864);
+ var _normalizeTrailingSlash = __webpack_require__(2700);
+ var _routeLoader = __webpack_require__(2497);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -1720,7 +1720,7 @@
/***/
},
- /***/ 9302: /***/ function(
+ /***/ 659: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1767,7 +1767,7 @@
/***/
},
- /***/ 2207: /***/ function(
+ /***/ 7345: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1879,7 +1879,7 @@
/***/
},
- /***/ 9311: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4686: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -1914,7 +1914,7 @@
/***/
},
- /***/ 8982: /***/ function(
+ /***/ 8483: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1988,7 +1988,7 @@
exports.RouteAnnouncer = RouteAnnouncer;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(387);
+ var _router = __webpack_require__(880);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2063,7 +2063,7 @@
/***/
},
- /***/ 2669: /***/ function(
+ /***/ 2497: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2079,9 +2079,9 @@
exports.getMiddlewareManifest = getMiddlewareManifest;
exports.createRouteLoader = createRouteLoader;
var _getAssetPathFromRoute = _interopRequireDefault(
- __webpack_require__(3891)
+ __webpack_require__(7929)
);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2458,7 +2458,7 @@
/***/
},
- /***/ 387: /***/ function(
+ /***/ 880: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2562,10 +2562,10 @@
exports.makePublicRouterInstance = makePublicRouterInstance;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = _interopRequireDefault(__webpack_require__(6273));
- var _routerContext = __webpack_require__(3462);
+ var _router = _interopRequireDefault(__webpack_require__(1003));
+ var _routerContext = __webpack_require__(2692);
var _isError = _interopRequireDefault(__webpack_require__(676));
- var _withRouter = _interopRequireDefault(__webpack_require__(8981));
+ var _withRouter = _interopRequireDefault(__webpack_require__(9977));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2778,7 +2778,7 @@
/***/
},
- /***/ 699: /***/ function(
+ /***/ 3573: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2853,9 +2853,9 @@
exports.z = initScriptLoader;
exports["default"] = void 0;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _headManagerContext = __webpack_require__(8404);
- var _headManager = __webpack_require__(6007);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _headManagerContext = __webpack_require__(4664);
+ var _headManager = __webpack_require__(1831);
+ var _requestIdleCallback = __webpack_require__(4686);
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
@@ -3134,7 +3134,7 @@
/***/
},
- /***/ 9831: /***/ function(
+ /***/ 2129: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3156,7 +3156,7 @@
/***/
},
- /***/ 5834: /***/ function(
+ /***/ 7185: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3215,7 +3215,7 @@
/***/
},
- /***/ 8981: /***/ function(
+ /***/ 9977: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3227,7 +3227,7 @@
});
exports["default"] = withRouter;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(387);
+ var _router = __webpack_require__(880);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3259,7 +3259,7 @@
/***/
},
- /***/ 9185: /***/ function(
+ /***/ 67: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3374,7 +3374,7 @@
});
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _head = _interopRequireDefault(__webpack_require__(5443));
+ var _head = _interopRequireDefault(__webpack_require__(3121));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3520,7 +3520,7 @@
/***/
},
- /***/ 2227: /***/ function(
+ /***/ 610: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3547,7 +3547,7 @@
/***/
},
- /***/ 3240: /***/ function(
+ /***/ 1686: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3560,7 +3560,7 @@
exports.isInAmpMode = isInAmpMode;
exports.useAmp = useAmp;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _ampContext = __webpack_require__(2227);
+ var _ampContext = __webpack_require__(610);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3589,7 +3589,7 @@
/***/
},
- /***/ 489: /***/ function(__unused_webpack_module, exports) {
+ /***/ 8659: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3603,7 +3603,7 @@
/***/
},
- /***/ 8404: /***/ function(
+ /***/ 4664: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3630,7 +3630,7 @@
/***/
},
- /***/ 5443: /***/ function(
+ /***/ 3121: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3673,11 +3673,11 @@
exports.defaultHead = defaultHead;
exports["default"] = void 0;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _sideEffect = _interopRequireDefault(__webpack_require__(5188));
- var _ampContext = __webpack_require__(2227);
- var _headManagerContext = __webpack_require__(8404);
- var _amp = __webpack_require__(3240);
- var _utils = __webpack_require__(3794);
+ var _sideEffect = _interopRequireDefault(__webpack_require__(1436));
+ var _ampContext = __webpack_require__(610);
+ var _headManagerContext = __webpack_require__(4664);
+ var _amp = __webpack_require__(1686);
+ var _utils = __webpack_require__(670);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3884,7 +3884,7 @@
/***/
},
- /***/ 4317: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4769: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3916,7 +3916,7 @@
/***/
},
- /***/ 9977: /***/ function(
+ /***/ 8730: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3928,7 +3928,7 @@
});
exports.ImageConfigContext = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _imageConfig = __webpack_require__(9309);
+ var _imageConfig = __webpack_require__(139);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3946,7 +3946,7 @@
/***/
},
- /***/ 9309: /***/ function(__unused_webpack_module, exports) {
+ /***/ 139: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3978,7 +3978,7 @@
/***/
},
- /***/ 8887: /***/ function(__unused_webpack_module, exports) {
+ /***/ 2849: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -4000,7 +4000,7 @@
/***/
},
- /***/ 5660: /***/ function(__unused_webpack_module, exports) {
+ /***/ 8550: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -4078,7 +4078,7 @@
/***/
},
- /***/ 3462: /***/ function(
+ /***/ 2692: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -4105,7 +4105,7 @@
/***/
},
- /***/ 6273: /***/ function(
+ /***/ 1003: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -4297,21 +4297,21 @@
exports.interpolateAs = interpolateAs;
exports.resolveHref = resolveHref;
exports["default"] = void 0;
- var _normalizeTrailingSlash = __webpack_require__(2392);
- var _routeLoader = __webpack_require__(2669);
+ var _normalizeTrailingSlash = __webpack_require__(2700);
+ var _routeLoader = __webpack_require__(2497);
var _isError = _interopRequireWildcard(__webpack_require__(676));
var _denormalizePagePath = __webpack_require__(4522);
- var _normalizeLocalePath = __webpack_require__(4317);
- var _mitt = _interopRequireDefault1(__webpack_require__(5660));
- var _utils = __webpack_require__(3794);
- var _isDynamic = __webpack_require__(8689);
- var _parseRelativeUrl = __webpack_require__(6305);
- var _querystring = __webpack_require__(466);
+ var _normalizeLocalePath = __webpack_require__(4769);
+ var _mitt = _interopRequireDefault1(__webpack_require__(8550));
+ var _utils = __webpack_require__(670);
+ var _isDynamic = __webpack_require__(6238);
+ var _parseRelativeUrl = __webpack_require__(2864);
+ var _querystring = __webpack_require__(4919);
var _resolveRewrites = _interopRequireDefault1(__webpack_require__(2431));
- var _routeMatcher = __webpack_require__(3888);
- var _routeRegex = __webpack_require__(4095);
- var _getMiddlewareRegex = __webpack_require__(9820);
- var _formatUrl = __webpack_require__(4611);
+ var _routeMatcher = __webpack_require__(3156);
+ var _routeRegex = __webpack_require__(4903);
+ var _getMiddlewareRegex = __webpack_require__(3072);
+ var _formatUrl = __webpack_require__(7795);
function _interopRequireDefault1(obj) {
return obj && obj.__esModule
? obj
@@ -6617,7 +6617,7 @@
/***/
},
- /***/ 4611: /***/ function(
+ /***/ 7795: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6630,7 +6630,7 @@
exports.formatUrl = formatUrl;
exports.formatWithValidation = formatWithValidation;
exports.urlObjectKeys = void 0;
- var querystring = _interopRequireWildcard(__webpack_require__(466));
+ var querystring = _interopRequireWildcard(__webpack_require__(4919));
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
@@ -6724,7 +6724,7 @@
/***/
},
- /***/ 3891: /***/ function(__unused_webpack_module, exports) {
+ /***/ 7929: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -6746,7 +6746,7 @@
/***/
},
- /***/ 9820: /***/ function(
+ /***/ 3072: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6757,7 +6757,7 @@
value: true
});
exports.getMiddlewareRegex = getMiddlewareRegex;
- var _routeRegex = __webpack_require__(4095);
+ var _routeRegex = __webpack_require__(4903);
function getMiddlewareRegex(normalizedRoute) {
var catchAll =
arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
@@ -6805,7 +6805,7 @@
/***/
},
- /***/ 418: /***/ function(
+ /***/ 8588: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6845,16 +6845,16 @@
return _isDynamic.isDynamicRoute;
}
});
- var _getMiddlewareRegex = __webpack_require__(9820);
- var _routeMatcher = __webpack_require__(3888);
- var _routeRegex = __webpack_require__(4095);
- var _sortedRoutes = __webpack_require__(3907);
- var _isDynamic = __webpack_require__(8689); //# sourceMappingURL=index.js.map
+ var _getMiddlewareRegex = __webpack_require__(3072);
+ var _routeMatcher = __webpack_require__(3156);
+ var _routeRegex = __webpack_require__(4903);
+ var _sortedRoutes = __webpack_require__(566);
+ var _isDynamic = __webpack_require__(6238); //# sourceMappingURL=index.js.map
/***/
},
- /***/ 8689: /***/ function(__unused_webpack_module, exports) {
+ /***/ 6238: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -6870,7 +6870,7 @@
/***/
},
- /***/ 6305: /***/ function(
+ /***/ 2864: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6881,8 +6881,8 @@
value: true
});
exports.parseRelativeUrl = parseRelativeUrl;
- var _utils = __webpack_require__(3794);
- var _querystring = __webpack_require__(466);
+ var _utils = __webpack_require__(670);
+ var _querystring = __webpack_require__(4919);
function parseRelativeUrl(url, base) {
var globalBase = new URL(false ? 0 : (0, _utils).getLocationOrigin());
var resolvedBase = base ? new URL(base, globalBase) : globalBase;
@@ -6910,7 +6910,7 @@
/***/
},
- /***/ 466: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4919: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -7044,7 +7044,7 @@
/***/
},
- /***/ 3888: /***/ function(
+ /***/ 3156: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7055,7 +7055,7 @@
value: true
});
exports.getRouteMatcher = getRouteMatcher;
- var _utils = __webpack_require__(3794);
+ var _utils = __webpack_require__(670);
function getRouteMatcher(routeRegex) {
var re = routeRegex.re,
groups = routeRegex.groups;
@@ -7092,7 +7092,7 @@
/***/
},
- /***/ 4095: /***/ function(
+ /***/ 4903: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7104,7 +7104,7 @@
});
exports.getParametrizedRoute = getParametrizedRoute;
exports.getRouteRegex = getRouteRegex;
- var _escapeRegexp = __webpack_require__(489);
+ var _escapeRegexp = __webpack_require__(8659);
function parseParameter(param) {
var optional = param.startsWith("[") && param.endsWith("]");
if (optional) {
@@ -7179,7 +7179,7 @@
/***/
},
- /***/ 3907: /***/ function(__unused_webpack_module, exports) {
+ /***/ 566: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -7518,7 +7518,7 @@
/***/
},
- /***/ 8027: /***/ function(__unused_webpack_module, exports) {
+ /***/ 6949: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -7538,7 +7538,7 @@
/***/
},
- /***/ 5188: /***/ function(
+ /***/ 1436: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7784,7 +7784,7 @@
/***/
},
- /***/ 3794: /***/ function(
+ /***/ 670: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -9308,7 +9308,7 @@
});
exports["default"] = isError;
exports.getProperError = getProperError;
- var _isPlainObject = __webpack_require__(8887);
+ var _isPlainObject = __webpack_require__(2849);
function isError(err) {
return (
typeof err === "object" &&
@@ -9347,7 +9347,7 @@
});
exports.normalizePathSep = normalizePathSep;
exports.denormalizePagePath = denormalizePagePath;
- var _utils = __webpack_require__(418);
+ var _utils = __webpack_require__(8588);
function normalizePathSep(path) {
return path.replace(/\\/g, "/");
}
@@ -9377,7 +9377,7 @@
return __webpack_require__((__webpack_require__.s = moduleId));
};
/******/ __webpack_require__.O(0, [774], function() {
- return __webpack_exec__(2870);
+ return __webpack_exec__(1783);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
Diff for webpack-HASH.js
@@ -159,7 +159,7 @@
/******/ __webpack_require__.u = function(chunkId) {
/******/ // return url for filenames based on template
/******/ return (
- "static/chunks/" + chunkId + "." + "2f05e31c20cc50e8" + ".js"
+ "static/chunks/" + chunkId + "." + "9cdfe5e4a967dde1" + ".js"
);
/******/
};
Diff for index.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/index-22405fb865808942.js"
+ src="/_next/static/chunks/pages/index-7dee323746710646.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for link.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/link-b932c7479a7c37ca.js"
+ src="/_next/static/chunks/pages/link-0b3d72804dab6202.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for withRouter.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/withRouter-50f69b5840cc7abf.js"
+ src="/_next/static/chunks/pages/withRouter-7a9c69580d45a83a.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Default Build with SWC (Increase detected ⚠️ )
General Overall increase ⚠️
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
buildDuration | 26s | 26s | -47ms |
buildDurationCached | 8.6s | 8.4s | -123ms |
nodeModulesSize | 372 MB | 372 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 4.503 | 4.509 | |
/ avg req/sec | 555.23 | 554.49 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 2.188 | 2.184 | 0 |
/error-in-render avg req/sec | 1142.63 | 1144.46 | +1.83 |
Client Bundles (main, webpack) Overall decrease ✓
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
450.HASH.js gzip | 179 B | 178 B | -1 B |
framework-HASH.js gzip | 42.3 kB | 42.3 kB | ✓ |
main-HASH.js gzip | 28.1 kB | 28.1 kB | ✓ |
webpack-HASH.js gzip | 1.45 kB | 1.45 kB | ✓ |
Overall change | 72.1 kB | 72.1 kB | -1 B |
Legacy Client Bundles (polyfills)
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall increase ⚠️
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
_app-HASH.js gzip | 1.36 kB | 1.36 kB | ✓ |
_error-HASH.js gzip | 180 B | 179 B | -1 B |
amp-HASH.js gzip | 313 B | 313 B | ✓ |
css-HASH.js gzip | 326 B | 324 B | -2 B |
dynamic-HASH.js gzip | 2.56 kB | 2.56 kB | |
head-HASH.js gzip | 350 B | 351 B | |
hooks-HASH.js gzip | 921 B | 921 B | ✓ |
image-HASH.js gzip | 5.2 kB | 5.2 kB | |
index-HASH.js gzip | 261 B | 261 B | ✓ |
link-HASH.js gzip | 2.33 kB | 2.33 kB | |
routerDirect..HASH.js gzip | 321 B | 322 B | |
script-HASH.js gzip | 386 B | 388 B | |
withRouter-HASH.js gzip | 317 B | 317 B | ✓ |
85e02e95b279..7e3.css gzip | 107 B | 107 B | ✓ |
Overall change | 14.9 kB | 14.9 kB |
Client Build Manifests
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
_buildManifest.js gzip | 456 B | 456 B | ✓ |
Overall change | 456 B | 456 B | ✓ |
Rendered Page Sizes Overall increase ⚠️
vercel/next.js canary | Schniz/next.js expose-wasm-files | Change | |
---|---|---|---|
index.html gzip | 530 B | 531 B | |
link.html gzip | 543 B | 545 B | |
withRouter.html gzip | 527 B | 526 B | -1 B |
Overall change | 1.6 kB | 1.6 kB |
Diffs
Diff for _buildManifest.js
@@ -1,25 +1,25 @@
self.__BUILD_MANIFEST = {
__rewrites: { beforeFiles: [], afterFiles: [], fallback: [] },
- "/": ["static\u002Fchunks\u002Fpages\u002Findex-22405fb865808942.js"],
- "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-97db2c91e74bb63f.js"],
- "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-8c7b17a56b7abb6e.js"],
+ "/": ["static\u002Fchunks\u002Fpages\u002Findex-7dee323746710646.js"],
+ "/_error": ["static\u002Fchunks\u002Fpages\u002F_error-5d03de5a43fe90da.js"],
+ "/amp": ["static\u002Fchunks\u002Fpages\u002Famp-ee9dddb806ed55d7.js"],
"/css": [
"static\u002Fcss\u002F94fdbc56eafa2039.css",
- "static\u002Fchunks\u002Fpages\u002Fcss-97182c5b8324021a.js"
+ "static\u002Fchunks\u002Fpages\u002Fcss-9b653f909589c123.js"
],
"/dynamic": [
- "static\u002Fchunks\u002Fpages\u002Fdynamic-f3926a2125ec78d2.js"
+ "static\u002Fchunks\u002Fpages\u002Fdynamic-3806562e6d80e46f.js"
],
- "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-7100d3b2a548f0e4.js"],
- "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-e46f7cf4e561503a.js"],
- "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-bd830310f23f09be.js"],
- "/link": ["static\u002Fchunks\u002Fpages\u002Flink-b932c7479a7c37ca.js"],
+ "/head": ["static\u002Fchunks\u002Fpages\u002Fhead-35c32b80abf212d2.js"],
+ "/hooks": ["static\u002Fchunks\u002Fpages\u002Fhooks-8642d114a09c62c5.js"],
+ "/image": ["static\u002Fchunks\u002Fpages\u002Fimage-21c1812d1ebeffa4.js"],
+ "/link": ["static\u002Fchunks\u002Fpages\u002Flink-0b3d72804dab6202.js"],
"/routerDirect": [
- "static\u002Fchunks\u002Fpages\u002FrouterDirect-76232dd6bc335a24.js"
+ "static\u002Fchunks\u002Fpages\u002FrouterDirect-00527c3f2207a902.js"
],
- "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-52713a82413f16bb.js"],
+ "/script": ["static\u002Fchunks\u002Fpages\u002Fscript-f50930661875bacc.js"],
"/withRouter": [
- "static\u002Fchunks\u002Fpages\u002FwithRouter-50f69b5840cc7abf.js"
+ "static\u002Fchunks\u002Fpages\u002FwithRouter-7a9c69580d45a83a.js"
],
sortedPages: [
"\u002F",
Diff for _app-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_app",
function() {
- return __webpack_require__(6029);
+ return __webpack_require__(4297);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6029: /***/ function(
+ /***/ 4297: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -153,7 +153,7 @@
});
exports["default"] = void 0;
var _react = _interopRequireDefault1(__webpack_require__(7294));
- var _utils = __webpack_require__(3794);
+ var _utils = __webpack_require__(670);
function asyncGeneratorStep(
gen,
resolve,
@@ -282,7 +282,7 @@
return __webpack_require__((__webpack_require__.s = moduleId));
};
/******/ __webpack_require__.O(0, [774, 179], function() {
- return __webpack_exec__(915), __webpack_exec__(387);
+ return __webpack_exec__(915), __webpack_exec__(880);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
Diff for _error-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_error",
function() {
- return __webpack_require__(9185);
+ return __webpack_require__(67);
}
]);
if (false) {
Diff for amp-HASH.js
@@ -6,7 +6,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(3240);
+ module.exports = __webpack_require__(1686);
/***/
},
@@ -19,7 +19,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/amp",
function() {
- return __webpack_require__(1910);
+ return __webpack_require__(8774);
}
]);
if (false) {
@@ -28,7 +28,7 @@
/***/
},
- /***/ 1910: /***/ function(
+ /***/ 8774: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for css-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/css",
function() {
- return __webpack_require__(5089);
+ return __webpack_require__(767);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5089: /***/ function(
+ /***/ 767: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -29,7 +29,7 @@
5893
);
/* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(
- 1785
+ 692
);
/* harmony import */ var _css_module_css__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/ __webpack_require__.n(
_css_module_css__WEBPACK_IMPORTED_MODULE_1__
@@ -48,7 +48,7 @@
/***/
},
- /***/ 1785: /***/ function(module) {
+ /***/ 692: /***/ function(module) {
// extracted by mini-css-extract-plugin
module.exports = { helloWorld: "css_helloWorld__qqNwY" };
Diff for dynamic-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/dynamic",
function() {
- return __webpack_require__(3286);
+ return __webpack_require__(3370);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 638: /***/ function(
+ /***/ 7645: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -73,7 +73,7 @@
__webpack_unused_export__ = noSSR;
exports["default"] = dynamic;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _loadable = _interopRequireDefault(__webpack_require__(4302));
+ var _loadable = _interopRequireDefault(__webpack_require__(4588));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -168,7 +168,7 @@
/***/
},
- /***/ 6319: /***/ function(
+ /***/ 3644: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -195,7 +195,7 @@
/***/
},
- /***/ 4302: /***/ function(
+ /***/ 4588: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -257,7 +257,7 @@
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
var _useSubscription = __webpack_require__(7161);
- var _loadableContext = __webpack_require__(6319);
+ var _loadableContext = __webpack_require__(3644);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -570,7 +570,7 @@
/***/
},
- /***/ 3286: /***/ function(
+ /***/ 3370: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -594,13 +594,13 @@
next_dynamic__WEBPACK_IMPORTED_MODULE_1__["default"])(
function() {
return __webpack_require__
- .e(/* import() */ 450)
- .then(__webpack_require__.bind(__webpack_require__, 6450));
+ .e(/* import() */ 925)
+ .then(__webpack_require__.bind(__webpack_require__, 3925));
},
{
loadableGenerated: {
webpack: function() {
- return [/*require.resolve*/ 6450];
+ return [/*require.resolve*/ 3925];
}
}
}
@@ -635,7 +635,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(638);
+ module.exports = __webpack_require__(7645);
/***/
},
Diff for head-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/head",
function() {
- return __webpack_require__(5423);
+ return __webpack_require__(6646);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5423: /***/ function(
+ /***/ 6646: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -73,7 +73,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(5443);
+ module.exports = __webpack_require__(3121);
/***/
}
Diff for hooks-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/hooks",
function() {
- return __webpack_require__(5017);
+ return __webpack_require__(2297);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5017: /***/ function(
+ /***/ 2297: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for image-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/image",
function() {
- return __webpack_require__(3155);
+ return __webpack_require__(3143);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 8045: /***/ function(
+ /***/ 9749: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -128,11 +128,11 @@
};
exports["default"] = Image;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _head = _interopRequireDefault(__webpack_require__(5443));
- var _imageConfig = __webpack_require__(9309);
- var _useIntersection = __webpack_require__(7190);
- var _imageConfigContext = __webpack_require__(9977);
- var _utils = __webpack_require__(3794);
+ var _head = _interopRequireDefault(__webpack_require__(3121));
+ var _imageConfig = __webpack_require__(139);
+ var _useIntersection = __webpack_require__(9246);
+ var _imageConfigContext = __webpack_require__(8730);
+ var _utils = __webpack_require__(670);
function _defineProperty1(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
@@ -919,7 +919,7 @@
/***/
},
- /***/ 7190: /***/ function(
+ /***/ 9246: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -992,7 +992,7 @@
});
exports.useIntersection = useIntersection;
var _react = __webpack_require__(7294);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
var hasIntersectionObserver = typeof IntersectionObserver !== "undefined";
function useIntersection(param) {
var rootRef = param.rootRef,
@@ -1124,7 +1124,7 @@
/***/
},
- /***/ 3155: /***/ function(
+ /***/ 3143: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -1178,7 +1178,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(8045);
+ module.exports = __webpack_require__(9749);
/***/
}
Diff for index-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/",
function() {
- return __webpack_require__(3678);
+ return __webpack_require__(4369);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 3678: /***/ function(
+ /***/ 4369: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for link-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/link",
function() {
- return __webpack_require__(4380);
+ return __webpack_require__(9798);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 8418: /***/ function(
+ /***/ 1551: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -100,9 +100,9 @@
};
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(6273);
- var _router1 = __webpack_require__(387);
- var _useIntersection = __webpack_require__(7190);
+ var _router = __webpack_require__(1003);
+ var _router1 = __webpack_require__(880);
+ var _useIntersection = __webpack_require__(9246);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -322,7 +322,7 @@
/***/
},
- /***/ 7190: /***/ function(
+ /***/ 9246: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -395,7 +395,7 @@
});
exports.useIntersection = useIntersection;
var _react = __webpack_require__(7294);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
var hasIntersectionObserver = typeof IntersectionObserver !== "undefined";
function useIntersection(param) {
var rootRef = param.rootRef,
@@ -527,7 +527,7 @@
/***/
},
- /***/ 4380: /***/ function(
+ /***/ 9798: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -577,7 +577,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(8418);
+ module.exports = __webpack_require__(1551);
/***/
}
Diff for routerDirect-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/routerDirect",
function() {
- return __webpack_require__(6870);
+ return __webpack_require__(1271);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6870: /***/ function(
+ /***/ 1271: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -59,7 +59,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(387);
+ module.exports = __webpack_require__(880);
/***/
}
Diff for script-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/script",
function() {
- return __webpack_require__(549);
+ return __webpack_require__(6103);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 549: /***/ function(
+ /***/ 6103: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -72,7 +72,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(699);
+ module.exports = __webpack_require__(3573);
/***/
}
Diff for withRouter-HASH.js
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/withRouter",
function() {
- return __webpack_require__(5330);
+ return __webpack_require__(8374);
}
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5330: /***/ function(
+ /***/ 8374: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -56,7 +56,7 @@
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(387);
+ module.exports = __webpack_require__(880);
/***/
}
Diff for 450.HASH.js
@@ -1,8 +1,8 @@
"use strict";
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
- [450],
+ [925],
{
- /***/ 6450: /***/ function(
+ /***/ 3925: /***/ function(
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
Diff for main-HASH.js
@@ -57,7 +57,7 @@
/***/
},
- /***/ 6007: /***/ function(__unused_webpack_module, exports) {
+ /***/ 1831: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _instanceof(left, right) {
@@ -244,7 +244,7 @@
/***/
},
- /***/ 7339: /***/ function(
+ /***/ 4534: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -455,26 +455,26 @@
__webpack_require__(37);
var _react = _interopRequireWildcard1(__webpack_require__(7294));
var _reactDom = _interopRequireDefault1(__webpack_require__(3935));
- var _headManagerContext = __webpack_require__(8404);
- var _mitt = _interopRequireDefault1(__webpack_require__(5660));
- var _routerContext = __webpack_require__(3462);
- var _router = __webpack_require__(6273);
- var _isDynamic = __webpack_require__(8689);
- var _querystring = __webpack_require__(466);
- var _runtimeConfig = __webpack_require__(8027);
- var _utils = __webpack_require__(3794);
- var _portal = __webpack_require__(2207);
- var _headManager = _interopRequireDefault1(__webpack_require__(6007));
- var _pageLoader = _interopRequireDefault1(__webpack_require__(5181));
+ var _headManagerContext = __webpack_require__(4664);
+ var _mitt = _interopRequireDefault1(__webpack_require__(8550));
+ var _routerContext = __webpack_require__(2692);
+ var _router = __webpack_require__(1003);
+ var _isDynamic = __webpack_require__(6238);
+ var _querystring = __webpack_require__(4919);
+ var _runtimeConfig = __webpack_require__(6949);
+ var _utils = __webpack_require__(670);
+ var _portal = __webpack_require__(7345);
+ var _headManager = _interopRequireDefault1(__webpack_require__(1831));
+ var _pageLoader = _interopRequireDefault1(__webpack_require__(976));
var _performanceRelayer = _interopRequireDefault1(
- __webpack_require__(9302)
+ __webpack_require__(659)
);
- var _routeAnnouncer = __webpack_require__(8982);
- var _router1 = __webpack_require__(387);
+ var _routeAnnouncer = __webpack_require__(8483);
+ var _router1 = __webpack_require__(880);
var _isError = __webpack_require__(676);
- var _vitals = __webpack_require__(5834);
- var _refresh = __webpack_require__(9831);
- var _imageConfigContext = __webpack_require__(9977);
+ var _vitals = __webpack_require__(7185);
+ var _refresh = __webpack_require__(2129);
+ var _imageConfigContext = __webpack_require__(8730);
function asyncGeneratorStep(
gen,
resolve,
@@ -671,7 +671,7 @@
normalizeLocalePath;
}
if (data.scriptLoader) {
- var initScriptLoader = __webpack_require__(699) /* .initScriptLoader */
+ var initScriptLoader = __webpack_require__(3573) /* .initScriptLoader */
.z;
initScriptLoader(data.scriptLoader);
}
@@ -1086,7 +1086,7 @@
: lastAppProps.Component) === ErrorComponent
? Promise.resolve()
.then(function() {
- return _interopRequireWildcard(__webpack_require__(9185));
+ return _interopRequireWildcard(__webpack_require__(67));
})
.then(function(m) {
return {
@@ -1498,14 +1498,14 @@
/***/
},
- /***/ 2870: /***/ function(
+ /***/ 1783: /***/ function(
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
) {
"use strict";
- var _ = __webpack_require__(7339);
+ var _ = __webpack_require__(4534);
window.next = {
version: _.version,
// router is initialized later so it has to be live-binded
@@ -1519,7 +1519,7 @@
/***/
},
- /***/ 2392: /***/ function(__unused_webpack_module, exports) {
+ /***/ 2700: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -1536,7 +1536,7 @@
/***/
},
- /***/ 5181: /***/ function(
+ /***/ 976: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1566,14 +1566,14 @@
value: true
});
exports["default"] = void 0;
- var _router = __webpack_require__(6273);
+ var _router = __webpack_require__(1003);
var _getAssetPathFromRoute = _interopRequireDefault(
- __webpack_require__(3891)
+ __webpack_require__(7929)
);
- var _isDynamic = __webpack_require__(8689);
- var _parseRelativeUrl = __webpack_require__(6305);
- var _normalizeTrailingSlash = __webpack_require__(2392);
- var _routeLoader = __webpack_require__(2669);
+ var _isDynamic = __webpack_require__(6238);
+ var _parseRelativeUrl = __webpack_require__(2864);
+ var _normalizeTrailingSlash = __webpack_require__(2700);
+ var _routeLoader = __webpack_require__(2497);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -1720,7 +1720,7 @@
/***/
},
- /***/ 9302: /***/ function(
+ /***/ 659: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1767,7 +1767,7 @@
/***/
},
- /***/ 2207: /***/ function(
+ /***/ 7345: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1879,7 +1879,7 @@
/***/
},
- /***/ 9311: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4686: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -1914,7 +1914,7 @@
/***/
},
- /***/ 8982: /***/ function(
+ /***/ 8483: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -1988,7 +1988,7 @@
exports.RouteAnnouncer = RouteAnnouncer;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(387);
+ var _router = __webpack_require__(880);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2063,7 +2063,7 @@
/***/
},
- /***/ 2669: /***/ function(
+ /***/ 2497: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2079,9 +2079,9 @@
exports.getMiddlewareManifest = getMiddlewareManifest;
exports.createRouteLoader = createRouteLoader;
var _getAssetPathFromRoute = _interopRequireDefault(
- __webpack_require__(3891)
+ __webpack_require__(7929)
);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _requestIdleCallback = __webpack_require__(4686);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2458,7 +2458,7 @@
/***/
},
- /***/ 387: /***/ function(
+ /***/ 880: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2562,10 +2562,10 @@
exports.makePublicRouterInstance = makePublicRouterInstance;
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = _interopRequireDefault(__webpack_require__(6273));
- var _routerContext = __webpack_require__(3462);
+ var _router = _interopRequireDefault(__webpack_require__(1003));
+ var _routerContext = __webpack_require__(2692);
var _isError = _interopRequireDefault(__webpack_require__(676));
- var _withRouter = _interopRequireDefault(__webpack_require__(8981));
+ var _withRouter = _interopRequireDefault(__webpack_require__(9977));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -2778,7 +2778,7 @@
/***/
},
- /***/ 699: /***/ function(
+ /***/ 3573: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -2853,9 +2853,9 @@
exports.z = initScriptLoader;
exports["default"] = void 0;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _headManagerContext = __webpack_require__(8404);
- var _headManager = __webpack_require__(6007);
- var _requestIdleCallback = __webpack_require__(9311);
+ var _headManagerContext = __webpack_require__(4664);
+ var _headManager = __webpack_require__(1831);
+ var _requestIdleCallback = __webpack_require__(4686);
function _defineProperty(obj, key, value) {
if (key in obj) {
Object.defineProperty(obj, key, {
@@ -3134,7 +3134,7 @@
/***/
},
- /***/ 9831: /***/ function(
+ /***/ 2129: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3156,7 +3156,7 @@
/***/
},
- /***/ 5834: /***/ function(
+ /***/ 7185: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3215,7 +3215,7 @@
/***/
},
- /***/ 8981: /***/ function(
+ /***/ 9977: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3227,7 +3227,7 @@
});
exports["default"] = withRouter;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _router = __webpack_require__(387);
+ var _router = __webpack_require__(880);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3259,7 +3259,7 @@
/***/
},
- /***/ 9185: /***/ function(
+ /***/ 67: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3374,7 +3374,7 @@
});
exports["default"] = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _head = _interopRequireDefault(__webpack_require__(5443));
+ var _head = _interopRequireDefault(__webpack_require__(3121));
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3520,7 +3520,7 @@
/***/
},
- /***/ 2227: /***/ function(
+ /***/ 610: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3547,7 +3547,7 @@
/***/
},
- /***/ 3240: /***/ function(
+ /***/ 1686: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3560,7 +3560,7 @@
exports.isInAmpMode = isInAmpMode;
exports.useAmp = useAmp;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _ampContext = __webpack_require__(2227);
+ var _ampContext = __webpack_require__(610);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3589,7 +3589,7 @@
/***/
},
- /***/ 489: /***/ function(__unused_webpack_module, exports) {
+ /***/ 8659: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3603,7 +3603,7 @@
/***/
},
- /***/ 8404: /***/ function(
+ /***/ 4664: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3630,7 +3630,7 @@
/***/
},
- /***/ 5443: /***/ function(
+ /***/ 3121: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3673,11 +3673,11 @@
exports.defaultHead = defaultHead;
exports["default"] = void 0;
var _react = _interopRequireWildcard(__webpack_require__(7294));
- var _sideEffect = _interopRequireDefault(__webpack_require__(5188));
- var _ampContext = __webpack_require__(2227);
- var _headManagerContext = __webpack_require__(8404);
- var _amp = __webpack_require__(3240);
- var _utils = __webpack_require__(3794);
+ var _sideEffect = _interopRequireDefault(__webpack_require__(1436));
+ var _ampContext = __webpack_require__(610);
+ var _headManagerContext = __webpack_require__(4664);
+ var _amp = __webpack_require__(1686);
+ var _utils = __webpack_require__(670);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3884,7 +3884,7 @@
/***/
},
- /***/ 4317: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4769: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3916,7 +3916,7 @@
/***/
},
- /***/ 9977: /***/ function(
+ /***/ 8730: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -3928,7 +3928,7 @@
});
exports.ImageConfigContext = void 0;
var _react = _interopRequireDefault(__webpack_require__(7294));
- var _imageConfig = __webpack_require__(9309);
+ var _imageConfig = __webpack_require__(139);
function _interopRequireDefault(obj) {
return obj && obj.__esModule
? obj
@@ -3946,7 +3946,7 @@
/***/
},
- /***/ 9309: /***/ function(__unused_webpack_module, exports) {
+ /***/ 139: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -3978,7 +3978,7 @@
/***/
},
- /***/ 8887: /***/ function(__unused_webpack_module, exports) {
+ /***/ 2849: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -4000,7 +4000,7 @@
/***/
},
- /***/ 5660: /***/ function(__unused_webpack_module, exports) {
+ /***/ 8550: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -4078,7 +4078,7 @@
/***/
},
- /***/ 3462: /***/ function(
+ /***/ 2692: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -4105,7 +4105,7 @@
/***/
},
- /***/ 6273: /***/ function(
+ /***/ 1003: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -4297,21 +4297,21 @@
exports.interpolateAs = interpolateAs;
exports.resolveHref = resolveHref;
exports["default"] = void 0;
- var _normalizeTrailingSlash = __webpack_require__(2392);
- var _routeLoader = __webpack_require__(2669);
+ var _normalizeTrailingSlash = __webpack_require__(2700);
+ var _routeLoader = __webpack_require__(2497);
var _isError = _interopRequireWildcard(__webpack_require__(676));
var _denormalizePagePath = __webpack_require__(4522);
- var _normalizeLocalePath = __webpack_require__(4317);
- var _mitt = _interopRequireDefault1(__webpack_require__(5660));
- var _utils = __webpack_require__(3794);
- var _isDynamic = __webpack_require__(8689);
- var _parseRelativeUrl = __webpack_require__(6305);
- var _querystring = __webpack_require__(466);
+ var _normalizeLocalePath = __webpack_require__(4769);
+ var _mitt = _interopRequireDefault1(__webpack_require__(8550));
+ var _utils = __webpack_require__(670);
+ var _isDynamic = __webpack_require__(6238);
+ var _parseRelativeUrl = __webpack_require__(2864);
+ var _querystring = __webpack_require__(4919);
var _resolveRewrites = _interopRequireDefault1(__webpack_require__(2431));
- var _routeMatcher = __webpack_require__(3888);
- var _routeRegex = __webpack_require__(4095);
- var _getMiddlewareRegex = __webpack_require__(9820);
- var _formatUrl = __webpack_require__(4611);
+ var _routeMatcher = __webpack_require__(3156);
+ var _routeRegex = __webpack_require__(4903);
+ var _getMiddlewareRegex = __webpack_require__(3072);
+ var _formatUrl = __webpack_require__(7795);
function _interopRequireDefault1(obj) {
return obj && obj.__esModule
? obj
@@ -6617,7 +6617,7 @@
/***/
},
- /***/ 4611: /***/ function(
+ /***/ 7795: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6630,7 +6630,7 @@
exports.formatUrl = formatUrl;
exports.formatWithValidation = formatWithValidation;
exports.urlObjectKeys = void 0;
- var querystring = _interopRequireWildcard(__webpack_require__(466));
+ var querystring = _interopRequireWildcard(__webpack_require__(4919));
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
@@ -6724,7 +6724,7 @@
/***/
},
- /***/ 3891: /***/ function(__unused_webpack_module, exports) {
+ /***/ 7929: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -6746,7 +6746,7 @@
/***/
},
- /***/ 9820: /***/ function(
+ /***/ 3072: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6757,7 +6757,7 @@
value: true
});
exports.getMiddlewareRegex = getMiddlewareRegex;
- var _routeRegex = __webpack_require__(4095);
+ var _routeRegex = __webpack_require__(4903);
function getMiddlewareRegex(normalizedRoute) {
var catchAll =
arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : true;
@@ -6805,7 +6805,7 @@
/***/
},
- /***/ 418: /***/ function(
+ /***/ 8588: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6845,16 +6845,16 @@
return _isDynamic.isDynamicRoute;
}
});
- var _getMiddlewareRegex = __webpack_require__(9820);
- var _routeMatcher = __webpack_require__(3888);
- var _routeRegex = __webpack_require__(4095);
- var _sortedRoutes = __webpack_require__(3907);
- var _isDynamic = __webpack_require__(8689); //# sourceMappingURL=index.js.map
+ var _getMiddlewareRegex = __webpack_require__(3072);
+ var _routeMatcher = __webpack_require__(3156);
+ var _routeRegex = __webpack_require__(4903);
+ var _sortedRoutes = __webpack_require__(566);
+ var _isDynamic = __webpack_require__(6238); //# sourceMappingURL=index.js.map
/***/
},
- /***/ 8689: /***/ function(__unused_webpack_module, exports) {
+ /***/ 6238: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -6870,7 +6870,7 @@
/***/
},
- /***/ 6305: /***/ function(
+ /***/ 2864: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -6881,8 +6881,8 @@
value: true
});
exports.parseRelativeUrl = parseRelativeUrl;
- var _utils = __webpack_require__(3794);
- var _querystring = __webpack_require__(466);
+ var _utils = __webpack_require__(670);
+ var _querystring = __webpack_require__(4919);
function parseRelativeUrl(url, base) {
var globalBase = new URL(false ? 0 : (0, _utils).getLocationOrigin());
var resolvedBase = base ? new URL(base, globalBase) : globalBase;
@@ -6910,7 +6910,7 @@
/***/
},
- /***/ 466: /***/ function(__unused_webpack_module, exports) {
+ /***/ 4919: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -7044,7 +7044,7 @@
/***/
},
- /***/ 3888: /***/ function(
+ /***/ 3156: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7055,7 +7055,7 @@
value: true
});
exports.getRouteMatcher = getRouteMatcher;
- var _utils = __webpack_require__(3794);
+ var _utils = __webpack_require__(670);
function getRouteMatcher(routeRegex) {
var re = routeRegex.re,
groups = routeRegex.groups;
@@ -7092,7 +7092,7 @@
/***/
},
- /***/ 4095: /***/ function(
+ /***/ 4903: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7104,7 +7104,7 @@
});
exports.getParametrizedRoute = getParametrizedRoute;
exports.getRouteRegex = getRouteRegex;
- var _escapeRegexp = __webpack_require__(489);
+ var _escapeRegexp = __webpack_require__(8659);
function parseParameter(param) {
var optional = param.startsWith("[") && param.endsWith("]");
if (optional) {
@@ -7179,7 +7179,7 @@
/***/
},
- /***/ 3907: /***/ function(__unused_webpack_module, exports) {
+ /***/ 566: /***/ function(__unused_webpack_module, exports) {
"use strict";
function _arrayLikeToArray(arr, len) {
@@ -7518,7 +7518,7 @@
/***/
},
- /***/ 8027: /***/ function(__unused_webpack_module, exports) {
+ /***/ 6949: /***/ function(__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -7538,7 +7538,7 @@
/***/
},
- /***/ 5188: /***/ function(
+ /***/ 1436: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -7784,7 +7784,7 @@
/***/
},
- /***/ 3794: /***/ function(
+ /***/ 670: /***/ function(
__unused_webpack_module,
exports,
__webpack_require__
@@ -9308,7 +9308,7 @@
});
exports["default"] = isError;
exports.getProperError = getProperError;
- var _isPlainObject = __webpack_require__(8887);
+ var _isPlainObject = __webpack_require__(2849);
function isError(err) {
return (
typeof err === "object" &&
@@ -9347,7 +9347,7 @@
});
exports.normalizePathSep = normalizePathSep;
exports.denormalizePagePath = denormalizePagePath;
- var _utils = __webpack_require__(418);
+ var _utils = __webpack_require__(8588);
function normalizePathSep(path) {
return path.replace(/\\/g, "/");
}
@@ -9377,7 +9377,7 @@
return __webpack_require__((__webpack_require__.s = moduleId));
};
/******/ __webpack_require__.O(0, [774], function() {
- return __webpack_exec__(2870);
+ return __webpack_exec__(1783);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
Diff for webpack-HASH.js
@@ -159,7 +159,7 @@
/******/ __webpack_require__.u = function(chunkId) {
/******/ // return url for filenames based on template
/******/ return (
- "static/chunks/" + chunkId + "." + "2f05e31c20cc50e8" + ".js"
+ "static/chunks/" + chunkId + "." + "9cdfe5e4a967dde1" + ".js"
);
/******/
};
Diff for index.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/index-22405fb865808942.js"
+ src="/_next/static/chunks/pages/index-7dee323746710646.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for link.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/link-b932c7479a7c37ca.js"
+ src="/_next/static/chunks/pages/link-0b3d72804dab6202.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
Diff for withRouter.html
@@ -11,7 +11,7 @@
src="/_next/static/chunks/polyfills-5cd94c89d3acac5f.js"
></script>
<script
- src="/_next/static/chunks/webpack-019d6affc74a3adc.js"
+ src="/_next/static/chunks/webpack-182da0ae540027a9.js"
defer=""
></script>
<script
@@ -19,15 +19,15 @@
defer=""
></script>
<script
- src="/_next/static/chunks/main-d48f543d4dd2966e.js"
+ src="/_next/static/chunks/main-5586bb4c90d7445f.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/_app-49be64520995abe5.js"
+ src="/_next/static/chunks/pages/_app-8047265dcdea6c35.js"
defer=""
></script>
<script
- src="/_next/static/chunks/pages/withRouter-50f69b5840cc7abf.js"
+ src="/_next/static/chunks/pages/withRouter-7a9c69580d45a83a.js"
defer=""
></script>
<script src="/_next/static/BUILD_ID/_buildManifest.js" defer=""></script>
This PR introduces a way to use WASM in middlewares.
Next.js will find all
.wasm
imports in middlewares and load them asWebAssembly.Module
objects, which then can be later instantiated.The metadata will be stored in
middleware-manifest.json
Bug
fixes #number
contributing.md
Feature
fixes #number
contributing.md
Documentation / Examples
yarn lint