-
Notifications
You must be signed in to change notification settings - Fork 29.3k
ncc Babel inlining #18768
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
ncc Babel inlining #18768
Conversation
Failing test suitesCommit: 79b7ef7 test/integration/font-optimization/test/index.test.js
Expand output● Font optimization for SSR apps › should minify the css
● Font optimization for serverless apps › should minify the css
● Font optimization for emulated serverless apps › should minify the css
test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.145 | 2.111 | -0.03 |
/ avg req/sec | 1165.73 | 1184.19 | +18.46 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.137 | 1.172 | |
/error-in-render avg req/sec | 2199.13 | 2132.31 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.5s | 12.6s | |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.75 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: fb02def test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.8s | 13.2s | |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.75 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.385 | 2.428 | |
/ avg req/sec | 1048.22 | 1029.61 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.251 | 1.212 | -0.04 |
/error-in-render avg req/sec | 1998.14 | 2062.61 | +64.47 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.2s | 13.9s | -340ms |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.75 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: cb1fe82 test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Failing test suitesCommit: 3a6d11c test/integration/babel/test/index.test.js
Expand output● Babel › Rendering via HTTP › Should compile a page with flowtype correctly
test/integration/absolute-assetprefix/test/index.test.js
Expand output● absolute assetPrefix with path prefix › should not fetch static data from a CDN
● absolute assetPrefix with path prefix › should fetch from cache correctly
● absolute assetPrefix with path prefix › should work with getStaticPaths prerendered
● absolute assetPrefix with path prefix › should work with getStaticPaths fallback
● absolute assetPrefix with path prefix › should work with getServerSideProps
● Test suite failed to run
test/integration/amp-export-validation/test/index.test.js
Expand output● AMP Validation on Export › should have shown errors during build
● AMP Validation on Export › should export AMP pages
● AMP Validation on Export › shows AMP warning without throwing error
● AMP Validation on Export › throws error on AMP error
● AMP Validation on Export › shows warning and error when throwing error
test/integration/amphtml-custom-validator/test/index.test.js
Expand output● AMP Custom Validator › should build and start successfully
● AMP Custom Validator › should run in dev mode successfully
test/integration/config-devtool-dev/test/index.test.js
Expand output● devtool set in developmemt mode in next config › should warn and revert when a devtool is set in development mode
test/integration/amphtml-ssg/test/index.test.js
Expand output● AMP SSG Support › serverless mode › should load an amp first page correctly
● AMP SSG Support › serverless mode › should load a hybrid amp page without query correctly
● AMP SSG Support › serverless mode › should load dynamic hybrid SSG/AMP page
● AMP SSG Support › serverless mode › should load dynamic hybrid SSG/AMP page with trailing slash
● AMP SSG Support › serverless mode › should load dynamic hybrid SSG/AMP page with query
● AMP SSG Support › serverless mode › should load a hybrid amp page with query correctly
● AMP SSG Support › serverless mode › should output prerendered files correctly during build
● AMP SSG Support › server mode › should load an amp first page correctly
● AMP SSG Support › server mode › should load a hybrid amp page without query correctly
● AMP SSG Support › server mode › should load dynamic hybrid SSG/AMP page
● AMP SSG Support › server mode › should load dynamic hybrid SSG/AMP page with trailing slash
● AMP SSG Support › server mode › should load dynamic hybrid SSG/AMP page with query
● AMP SSG Support › server mode › should load a hybrid amp page with query correctly
● AMP SSG Support › server mode › should output prerendered files correctly during build
● AMP SSG Support › dev mode › should load a hybrid amp page without query correctly
● AMP SSG Support › dev mode › should load dynamic hybrid SSG/AMP page
● AMP SSG Support › dev mode › should load dynamic hybrid SSG/AMP page with trailing slash
● AMP SSG Support › dev mode › should load dynamic hybrid SSG/AMP page with query
● AMP SSG Support › dev mode › should load a hybrid amp page with query correctly
● AMP SSG Support › export mode › should have copied SSG files correctly
● Test suite failed to run
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.112 | 2.101 | -0.01 |
/ avg req/sec | 1183.83 | 1189.81 | +5.98 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.165 | 1.183 | |
/error-in-render avg req/sec | 2146.7 | 2113.83 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.6s | 13.2s | |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.75 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: 3259e91 test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
3259e91
to
37a2b2f
Compare
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 11.9s | 12.5s | |
nodeModulesSize | 90.5 MB | 86.4 MB | -4.13 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.298 | 2.281 | -0.02 |
/ avg req/sec | 1087.92 | 1095.97 | +8.05 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.234 | 1.178 | -0.06 |
/error-in-render avg req/sec | 2026.3 | 2121.4 | +95.1 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 13.9s | 14.1s | |
nodeModulesSize | 90.5 MB | 86.4 MB | -4.13 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: 37a2b2f test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.6s | 13.1s | |
nodeModulesSize | 90.5 MB | 86.4 MB | -4.13 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.468 | 2.371 | -0.1 |
/ avg req/sec | 1012.99 | 1054.2 | +41.21 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.243 | 1.254 | |
/error-in-render avg req/sec | 2011.82 | 1994.24 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.6s | 15s | |
nodeModulesSize | 90.5 MB | 86.4 MB | -4.13 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: c782556 test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.435 | 2.504 | |
/ avg req/sec | 1026.85 | 998.5 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.294 | 1.308 | |
/error-in-render avg req/sec | 1931.42 | 1911.1 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 15.2s | 15.2s | |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.78 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: a12e062 test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.408 | 2.408 | ✓ |
/ avg req/sec | 1038.37 | 1038.27 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.271 | 1.276 | |
/error-in-render avg req/sec | 1967.22 | 1959.27 |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11 kB | -214 B |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.29 kB | |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.43 kB | -6 B |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,7 +2,7 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-93c47c5507f369cf30db.js"
],
"/hooks": [
"static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
Diff for _app-7512045..d9376e2ca.js
@@ -51,34 +51,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _asyncToGenerator = __webpack_require__("yXPU");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
Diff for _error-a0c45..8e97fa7be.js
@@ -59,34 +59,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireDefault = __webpack_require__("TqRt");
exports.__esModule = true;
@@ -788,34 +792,38 @@ Also adds support for deduplicated `key` properties
var _getPrototypeOf = __webpack_require__("Nsbk");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
exports.__esModule = true;
exports["default"] = void 0;
Diff for 677f882d2ed8..0184795b7.js
@@ -3553,80 +3553,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
var _construct = __webpack_require__("sXyB");
- function _createForOfIteratorHelper(o, allowArrayLike) {
- var it;
- if (typeof Symbol === "undefined" || o[Symbol.iterator] == null) {
- if (
- Array.isArray(o) ||
- (it = _unsupportedIterableToArray(o)) ||
- (allowArrayLike && o && typeof o.length === "number")
- ) {
- if (it) o = it;
- var i = 0;
- var F = function F() {};
- return {
- s: F,
- n: function n() {
- if (i >= o.length) return { done: true };
- return { done: false, value: o[i++] };
- },
- e: function e(_e) {
- throw _e;
- },
- f: F
- };
- }
- throw new TypeError(
- "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
- );
- }
- var normalCompletion = true,
- didErr = false,
- err;
- return {
- s: function s() {
- it = o[Symbol.iterator]();
- },
- n: function n() {
- var step = it.next();
- normalCompletion = step.done;
- return step;
- },
- e: function e(_e2) {
- didErr = true;
- err = _e2;
- },
- f: function f() {
- try {
- if (!normalCompletion && it["return"] != null) it["return"]();
- } finally {
- if (didErr) throw err;
- }
- }
- };
- }
-
- function _unsupportedIterableToArray(o, minLen) {
- if (!o) return;
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
- var n = Object.prototype.toString.call(o).slice(8, -1);
- if (n === "Object" && o.constructor) n = o.constructor.name;
- if (n === "Map" || n === "Set") return Array.from(o);
- if (
- n === "Arguments" ||
- /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
- )
- return _arrayLikeToArray(o, minLen);
- }
-
- function _arrayLikeToArray(arr, len) {
- if (len == null || len > arr.length) len = arr.length;
- for (var i = 0, arr2 = new Array(len); i < len; i++) {
- arr2[i] = arr[i];
- }
- return arr2;
- }
-
var _interopRequireWildcard = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
@@ -3784,12 +3710,16 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
function makePublicRouterInstance(router) {
var _router = router;
var instance = {};
-
- var _iterator = _createForOfIteratorHelper(urlPropertyFields),
- _step;
+ var _iteratorNormalCompletion = true;
+ var _didIteratorError = false;
+ var _iteratorError = undefined;
try {
- for (_iterator.s(); !(_step = _iterator.n()).done; ) {
+ for (
+ var _iterator = urlPropertyFields[Symbol.iterator](), _step;
+ !(_iteratorNormalCompletion = (_step = _iterator.next()).done);
+ _iteratorNormalCompletion = true
+ ) {
var property = _step.value;
if (typeof _router[property] === "object") {
@@ -3804,9 +3734,18 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
instance[property] = _router[property];
} // Events is a static property on the router, the router doesn't have to be initialized to use it
} catch (err) {
- _iterator.e(err);
+ _didIteratorError = true;
+ _iteratorError = err;
} finally {
- _iterator.f();
+ try {
+ if (!_iteratorNormalCompletion && _iterator["return"] != null) {
+ _iterator["return"]();
+ }
+ } finally {
+ if (_didIteratorError) {
+ throw _iteratorError;
+ }
+ }
}
instance.events = _router2["default"].events;
Diff for main-f5ebb63..f5b26cfc4.js
@@ -261,34 +261,38 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
var _slicedToArray = __webpack_require__("J4zp");
function _createSuper(Derived) {
- var hasNativeReflectConstruct = _isNativeReflectConstruct();
- return function _createSuperInternal() {
+ function isNativeReflectConstruct() {
+ if (typeof Reflect === "undefined" || !Reflect.construct)
+ return false;
+ if (Reflect.construct.sham) return false;
+ if (typeof Proxy === "function") return true;
+
+ try {
+ Date.prototype.toString.call(
+ Reflect.construct(Date, [], function() {})
+ );
+ return true;
+ } catch (e) {
+ return false;
+ }
+ }
+
+ return function() {
var Super = _getPrototypeOf(Derived),
result;
- if (hasNativeReflectConstruct) {
+
+ if (isNativeReflectConstruct()) {
var NewTarget = _getPrototypeOf(this).constructor;
+
result = Reflect.construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
+
return _possibleConstructorReturn(this, result);
};
}
- function _isNativeReflectConstruct() {
- if (typeof Reflect === "undefined" || !Reflect.construct) return false;
- if (Reflect.construct.sham) return false;
- if (typeof Proxy === "function") return true;
- try {
- Date.prototype.toString.call(
- Reflect.construct(Date, [], function() {})
- );
- return true;
- } catch (e) {
- return false;
- }
- }
-
var _interopRequireWildcard3 = __webpack_require__("284h");
var _interopRequireDefault = __webpack_require__("TqRt");
Diff for index.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,7 +126,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -138,7 +138,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-f5ebb63d54ef5b26cfc4.js"
+ src="/_next/static/chunks/main-e58cd4c360b757475eda.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,7 +121,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.cf9cca750fb988ac0fbc.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -133,7 +133,7 @@
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-1651c63676ab747d2115.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.9s | 15.3s | |
nodeModulesSize | 90.5 MB | 84.7 MB | -5.78 MB |
Client Bundles (main, webpack, commons) Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..f2b2.js gzip | N/A | 11 kB | N/A |
main-2b7b0ee..f96a.js gzip | N/A | 7.33 kB | N/A |
Overall change | 58.3 kB | 58.1 kB | -211 B |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-8839dc4..9c9e.js gzip | N/A | 1.29 kB | N/A |
_error-46733..1856.js gzip | N/A | 3.43 kB | N/A |
Overall change | 7.75 kB | 7.75 kB | -3 B |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
Failing test suitesCommit: db94b29 test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
test/integration/styled-jsx-plugin/test/index.test.js
Expand output● styled-jsx using in node_modules › production mode › should serve a page correctly
● Test suite failed to run
|
This PR is ready for review - there is one main bug left and that is that the JSX plugin seems to be stalling for some reason. I will dig into fixing this bug further after review if this is going to move forward and there are no other concerns here. |
Turns out the issue here is #12952. To fix we can either just have two copies of Babel inlined, or try to trace the root cause of that original issue. |
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall increase
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.9s | 13.8s | |
nodeModulesSize | 90.5 MB | 92.2 MB |
Page Load Tests Overall decrease ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.477 | 2.396 | -0.08 |
/ avg req/sec | 1009.29 | 1043.3 | +34.01 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.226 | 1.342 | |
/error-in-render avg req/sec | 2038.5 | 1862.37 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.3 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.9s | 15.9s | |
nodeModulesSize | 90.5 MB | 92.2 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.3 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
@@ -2,7 +2,7 @@ | |||
|
|||
const { | |||
minify: terserMinify | |||
} = require("next/dist/compiled/terser"); | |||
} = require('terser'); |
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.
Why was this undone?
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.
Nicely spotted! I've added this back. It appears this is an asset emission of the ncc build which therefore does not follow the externals definition.
The original change must have been a manual fix. We should automate this into the compilation somehow ideally....
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.
Posted vercel/ncc#611.
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 13.5s | 14.3s | |
nodeModulesSize | 90.5 MB | 92.2 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.622 | 2.683 | |
/ avg req/sec | 953.63 | 931.87 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.654 | 1.573 | -0.08 |
/error-in-render avg req/sec | 1511.43 | 1589.45 | +78.02 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.3 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | ✓ |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Serverless Mode
General Overall increase ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.8s | 15.7s | |
nodeModulesSize | 90.5 MB | 92.2 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-be398bc..d262.js gzip | 7.33 kB | 7.33 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.3 kB | 58.3 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-378f0c6..dule.js gzip | 6.33 kB | 6.33 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 322 B | ✓ |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 652 B | ✓ |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.48 MB | 5.48 MB | ✓ |
0b5c904
to
5747b35
Compare
Failing test suitesCommit: 592cd49 test/integration/amphtml-custom-validator/test/index.test.js Expand output● Test suite failed to run
test/integration/build-warnings/test/index.test.js Expand output● Test suite failed to run
test/acceptance/ReactRefreshRegression.test.js Expand output● Test suite failed to run
test/integration/404-page-custom-error/test/index.test.js Expand output● Test suite failed to run
test/acceptance/ReactRefreshRequire.test.js Expand output● Test suite failed to run
|
592cd49
to
761a016
Compare
Failing test suitesCommit: 761a016 test/integration/api-catch-all/test/index.test.js
Expand output● API routes › Serverless support › should return data when catch-all
● API routes › Serverless support › should return redirect when catch-all with index and trailing slash
● API routes › Serverless support › should return data when catch-all with index and trailing slash
● API routes › Serverless support › should return data when catch-all with index and no trailing slash
test/integration/app-tree/test/index.test.js
Expand output● AppTree › serverless mode › should provide router context in AppTree on SSR
● AppTree › serverless mode › should provide router context in AppTree on CSR
● AppTree › serverless mode › should pass AppTree to NextPageContext
test/integration/404-page/test/index.test.js
Expand output● 404 Page Support › serverless mode › should use pages/404
● 404 Page Support › serverless mode › should set correct status code with pages/404
● 404 Page Support › serverless mode › should not error when visited directly
● 404 Page Support › serverless mode › should render _error for a 500 error still
● 404 Page Support › serverless mode › should output 404.html during build
● 404 Page Support › serverless mode › should add /404 to pages-manifest correctly
test/integration/export-subfolders-serverless/test/index.test.js
Expand output● Export config#exportTrailingSlash set to false › should export pages as [filename].html instead of [filename]/index.html
|
5962e5a
to
159a671
Compare
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 12.6s | 13.7s | |
nodeModulesSize | 90.1 MB | 90.7 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.359 | 2.32 | -0.04 |
/ avg req/sec | 1059.68 | 1077.67 | +17.99 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.249 | 1.224 | -0.03 |
/error-in-render avg req/sec | 2000.92 | 2042.63 | +41.71 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-1bcbf27..3cd1.js gzip | 7.41 kB | 7.41 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-e11a5d3..dule.js gzip | 6.4 kB | 6.4 kB | |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | -3 B |
link.html gzip | 1.01 kB | 1.01 kB | -1 B |
withRouter.html gzip | 995 B | 994 B | -1 B |
Overall change | 3.01 kB | 3 kB | -5 B |
Diffs
Diff for _buildManifest.js
@@ -2,10 +2,10 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-9b57cae5694a39479222.js"
],
"/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
+ "static\u002Fchunks\u002Fpages\u002Fhooks-bdd2cad07648acf22380.js"
],
"/link": ["static\u002Fchunks\u002Fpages\u002Flink-46fe29f40f6309aec7d7.js"],
"/routerDirect": [
Diff for main-6b20702..ff521e58d.js
@@ -1328,11 +1328,11 @@ _N_E = (window["webpackJsonp_N_E"] = window["webpackJsonp_N_E"] || []).push([
}
__webpack_require__.ab = __dirname + "/";
function startup() {
- return __webpack_require__(231);
+ return __webpack_require__(766);
}
return startup();
})({
- 231: function(t, e) {
+ 766: function(t, e) {
!(function(t, n) {
true ? n(e) : undefined;
})(this, function(t) {
Diff for main-e54d3a5..ee.module.js
@@ -986,11 +986,11 @@
}
__webpack_require__.ab = __dirname + "/";
function startup() {
- return __webpack_require__(231);
+ return __webpack_require__(766);
}
return startup();
})({
- 231: function(t, e) {
+ 766: function(t, e) {
!(function(t, n) {
true ? n(e) : undefined;
})(this, function(t) {
Diff for index.html
@@ -6,7 +6,7 @@
<noscript data-n-css="true"></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ href="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,13 +85,13 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-6b207021126ff521e58d.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ src="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
async=""
crossorigin="anonymous"
type="module"
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -6,7 +6,7 @@
<noscript data-n-css="true"></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ href="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -90,13 +90,13 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-6b207021126ff521e58d.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ src="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
async=""
crossorigin="anonymous"
type="module"
@@ -126,19 +126,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -6,7 +6,7 @@
<noscript data-n-css="true"></noscript>
<link
rel="preload"
- href="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ href="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,13 +85,13 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-6b207021126ff521e58d.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/main-e54d3a50385d919b91ee.module.js"
+ src="/_next/static/chunks/main-b27ea50c808c73324bfb.module.js"
async=""
crossorigin="anonymous"
type="module"
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall increase ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.1s | 15.3s | |
nodeModulesSize | 90.1 MB | 90.7 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-1bcbf27..3cd1.js gzip | 7.41 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..3894.js gzip | N/A | 11.2 kB | N/A |
main-15f8cbd..b14b.js gzip | N/A | 7.41 kB | N/A |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern Overall increase ⚠️
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | N/A | N/A |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-e11a5d3..dule.js gzip | 6.4 kB | N/A | N/A |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..dule.js gzip | N/A | 7.02 kB | N/A |
main-dc0106f..dule.js gzip | N/A | 6.4 kB | N/A |
Overall change | 53.1 kB | 53.1 kB |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | N/A | N/A |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-7231d4b..5856.js gzip | N/A | 1.28 kB | N/A |
_error-fca3d..2eb1.js gzip | N/A | 3.44 kB | N/A |
hooks-d4591d..e7c2.js gzip | N/A | 887 B | N/A |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Serverless bundles Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | -15 B |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | -15 B |
link.js | 1.12 MB | 1.12 MB | -15 B |
routerDirect.js | 1.11 MB | 1.11 MB | -15 B |
withRouter.js | 1.11 MB | 1.11 MB | -15 B |
Overall change | 5.49 MB | 5.49 MB | -75 B |
159a671
to
aca8c10
Compare
Stats from current PRDefault Server Mode (Decrease detected ✓)General Overall decrease ✓
Page Load Tests Overall decrease
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.352 | 2.393 | |
/ avg req/sec | 1062.89 | 1044.63 | |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.22 | 1.272 | |
/error-in-render avg req/sec | 2049.55 | 1966.06 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | 11.2 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-df78c98..9566.js gzip | 7.41 kB | 7.41 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | 7.02 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-dc0106f..dule.js gzip | 6.4 kB | 6.4 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Rendered Page Sizes Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | -1 B |
link.html gzip | 1.01 kB | 1.01 kB | ✓ |
withRouter.html gzip | 994 B | 994 B | ✓ |
Overall change | 3 kB | 3 kB | -1 B |
Diffs
Diff for _buildManifest.js
@@ -2,10 +2,10 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-9b57cae5694a39479222.js"
],
"/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
+ "static\u002Fchunks\u002Fpages\u002Fhooks-bdd2cad07648acf22380.js"
],
"/link": ["static\u002Fchunks\u002Fpages\u002Flink-46fe29f40f6309aec7d7.js"],
"/routerDirect": [
Diff for index.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-87322aa532b0fba0d476.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-87322aa532b0fba0d476.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,19 +126,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-87322aa532b0fba0d476.js"
+ src="/_next/static/chunks/main-0af40e75d8c59fe926b5.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.95c437bfeae0184795b7.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.54a4a893bf4d047564b3.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.749b41e2d1d29f80d792.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.3afd75c357baf0e5c75b.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.8s | 15.6s | |
nodeModulesSize | 90.1 MB | 87 MB | -3.12 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..1f3c.js gzip | 11.2 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-df78c98..9566.js gzip | 7.41 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..3894.js gzip | N/A | 11.2 kB | N/A |
main-15f8cbd..b14b.js gzip | N/A | 7.41 kB | N/A |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.02 kB | N/A | N/A |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-dc0106f..dule.js gzip | 6.4 kB | 6.4 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..dule.js gzip | N/A | 7.02 kB | N/A |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | N/A | N/A |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-7231d4b..5856.js gzip | N/A | 1.28 kB | N/A |
_error-fca3d..2eb1.js gzip | N/A | 3.44 kB | N/A |
hooks-d4591d..e7c2.js gzip | N/A | 887 B | N/A |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.49 MB | 5.49 MB | ✓ |
Failing test suitesCommit: aca8c10 test/integration/build-output/test/index.test.js
Expand output● Build Output › Basic Application Output › should not deviate from snapshot
|
Stats from current PRDefault Server Mode (Increase detected
|
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 14.8s | 14.9s | |
nodeModulesSize | 90 MB | 87 MB | -3.03 MB |
Page Load Tests Overall increase ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
/ failed reqs | 0 | 0 | ✓ |
/ total time (seconds) | 2.582 | 2.532 | -0.05 |
/ avg req/sec | 968.13 | 987.41 | +19.28 |
/error-in-render failed reqs | 0 | 0 | ✓ |
/error-in-render total time (seconds) | 1.392 | 1.381 | -0.01 |
/error-in-render avg req/sec | 1795.36 | 1809.67 | +14.31 |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..02db.js gzip | 11.3 kB | 11.3 kB | ✓ |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-3d433ed..98b9.js gzip | 7.37 kB | 7.37 kB | ✓ |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.04 kB | 7.04 kB | ✓ |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-d2e2380..dule.js gzip | 6.37 kB | 6.37 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | 1.28 kB | ✓ |
_error-ed1b0..8fbd.js gzip | 3.44 kB | 3.44 kB | ✓ |
hooks-89731c..c609.js gzip | 887 B | 887 B | ✓ |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Rendered Page Sizes
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
index.html gzip | 1 kB | 1 kB | |
link.html gzip | 1.01 kB | 1.01 kB | -1 B |
withRouter.html gzip | 995 B | 995 B | ✓ |
Overall change | 3 kB | 3 kB | ✓ |
Diffs
Diff for _buildManifest.js
@@ -2,10 +2,10 @@ self.__BUILD_MANIFEST = {
__rewrites: [],
"/": ["static\u002Fchunks\u002Fpages\u002Findex-283eed3c1520dcc26e8d.js"],
"/_error": [
- "static\u002Fchunks\u002Fpages\u002F_error-a0c4519f5ca8e97fa7be.js"
+ "static\u002Fchunks\u002Fpages\u002F_error-9b57cae5694a39479222.js"
],
"/hooks": [
- "static\u002Fchunks\u002Fpages\u002Fhooks-8001dc76075832ee8949.js"
+ "static\u002Fchunks\u002Fpages\u002Fhooks-bdd2cad07648acf22380.js"
],
"/link": ["static\u002Fchunks\u002Fpages\u002Flink-46fe29f40f6309aec7d7.js"],
"/routerDirect": [
Diff for index.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-fcc0dc8abff8177b71fa.js"
+ src="/_next/static/chunks/main-63173ab6332f319ecd1d.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5d4f3798f0f226dab197.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.978ffbabf17b2be9a27e.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for link.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -90,7 +90,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-fcc0dc8abff8177b71fa.js"
+ src="/_next/static/chunks/main-63173ab6332f319ecd1d.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -126,19 +126,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5d4f3798f0f226dab197.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.978ffbabf17b2be9a27e.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Diff for withRouter.html
@@ -24,7 +24,7 @@
/>
<link
rel="preload"
- href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ href="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
as="script"
crossorigin="anonymous"
/>
@@ -85,7 +85,7 @@
src="/_next/static/chunks/polyfills-769ffb30946627a111d3.js"
></script>
<script
- src="/_next/static/chunks/main-fcc0dc8abff8177b71fa.js"
+ src="/_next/static/chunks/main-63173ab6332f319ecd1d.js"
async=""
crossorigin="anonymous"
nomodule=""
@@ -121,19 +121,19 @@
type="module"
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.5d4f3798f0f226dab197.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.978ffbabf17b2be9a27e.js"
async=""
crossorigin="anonymous"
nomodule=""
></script>
<script
- src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.883dd050e11a66b09e26.module.js"
+ src="/_next/static/chunks/677f882d2ed86fa3467b8979053c1a4c3f8bc4df.6b4511cd17e1524c6341.module.js"
async=""
crossorigin="anonymous"
type="module"
></script>
<script
- src="/_next/static/chunks/pages/_app-7512045a5b3d9376e2ca.js"
+ src="/_next/static/chunks/pages/_app-265ddf2d03dbe48fa6cb.js"
async=""
crossorigin="anonymous"
nomodule=""
Serverless Mode (Decrease detected ✓)
General Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
buildDuration | 16.3s | 16.8s | |
nodeModulesSize | 90 MB | 87 MB | -3.03 MB |
Client Bundles (main, webpack, commons)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..02db.js gzip | 11.3 kB | N/A | N/A |
framework.HASH.js gzip | 39 kB | 39 kB | ✓ |
main-3d433ed..98b9.js gzip | 7.37 kB | N/A | N/A |
webpack-e067..f178.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..7d3b.js gzip | N/A | 11.3 kB | N/A |
main-6feff68..15d9.js gzip | N/A | 7.37 kB | N/A |
Overall change | 58.4 kB | 58.4 kB | ✓ |
Client Bundles (main, webpack, commons) Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
677f882d2ed8..dule.js gzip | 7.04 kB | N/A | N/A |
framework.HA..dule.js gzip | 39 kB | 39 kB | ✓ |
main-d2e2380..dule.js gzip | 6.37 kB | 6.37 kB | ✓ |
webpack-07c5..dule.js gzip | 751 B | 751 B | ✓ |
677f882d2ed8..dule.js gzip | N/A | 7.04 kB | N/A |
Overall change | 53.1 kB | 53.1 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
polyfills-b5..1119.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-9a0b9e1..b37e.js gzip | 1.28 kB | N/A | N/A |
_error-ed1b0..8fbd.js gzip | 3.44 kB | N/A | N/A |
hooks-89731c..c609.js gzip | 887 B | N/A | N/A |
index-17468f..5d83.js gzip | 227 B | 227 B | ✓ |
link-a674d88..ccde.js gzip | 1.35 kB | 1.35 kB | ✓ |
routerDirect..924c.js gzip | 284 B | 284 B | ✓ |
withRouter-7..c13d.js gzip | 284 B | 284 B | ✓ |
_app-7231d4b..5856.js gzip | N/A | 1.28 kB | N/A |
_error-fca3d..2eb1.js gzip | N/A | 3.44 kB | N/A |
hooks-d4591d..e7c2.js gzip | N/A | 887 B | N/A |
Overall change | 7.75 kB | 7.75 kB | ✓ |
Client Pages Modern
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_app-75d3a82..dule.js gzip | 625 B | 625 B | ✓ |
_error-4469a..dule.js gzip | 2.29 kB | 2.29 kB | ✓ |
hooks-cbf13f..dule.js gzip | 387 B | 387 B | ✓ |
index-b9a643..dule.js gzip | 226 B | 226 B | ✓ |
link-a4469f3..dule.js gzip | 1.32 kB | 1.32 kB | ✓ |
routerDirect..dule.js gzip | 284 B | 284 B | ✓ |
withRouter-f..dule.js gzip | 282 B | 282 B | ✓ |
Overall change | 5.41 kB | 5.41 kB | ✓ |
Client Build Manifests Overall decrease ✓
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_buildManifest.js gzip | 322 B | 321 B | -1 B |
_buildManife..dule.js gzip | 330 B | 330 B | ✓ |
Overall change | 652 B | 651 B | -1 B |
Serverless bundles
vercel/next.js canary | guybedford/next.js babel-inlining | Change | |
---|---|---|---|
_error.js | 1.07 MB | 1.07 MB | ✓ |
404.html | 4.73 kB | 4.73 kB | ✓ |
hooks.html | 3.92 kB | 3.92 kB | ✓ |
index.js | 1.07 MB | 1.07 MB | ✓ |
link.js | 1.12 MB | 1.12 MB | ✓ |
routerDirect.js | 1.11 MB | 1.11 MB | ✓ |
withRouter.js | 1.11 MB | 1.11 MB | ✓ |
Overall change | 5.49 MB | 5.49 MB | ✓ |
**What's the problem this PR addresses?** #18768 started to ncc `@babel/plugin-transform-runtime` which broke its Yarn PnP support since the version of `resolve` it uses can't be patched by Yarn. Fixes https://github.com/yarnpkg/berry/runs/1359235077?check_suite_focus=true#step:5:79 cc @guybedford **How did you fix it?** Resolve the absolute path to `@babel/runtime` so it doesn't have to go through `resolve` --- Fixes #19026
**What's the problem this PR addresses?** - ~~#18768 started to ncc babel and thus it's version of resolve which breaks PnP support~~ Babel replaced `resolve` with the builtin `require.resolve` and a polyfill for older node versions in babel/babel#12439 which was upgraded in #20586 - `next` unnecessarily bundles the `resolve` package when `require.resolve` is builtin and can do the same job **How did you fix it?** - ~~Avoid running `resolve` through ncc~~ Added a test for #19334 (closes #19334) - Replace `resolve` with `require.resolve`
This adds inlining for Babel and the Babel plugins used in next.
This is based to the PR at #18823.
The approach is to make one large bundle and then separate out the individual packages from that in order to avoid duplications.
In the first attempt the Babel bundle size was 10MB... using "resolutions" in the Yarn workspace to reduce the duplicated packages this was brought down to a 2.8MB bundle for Babel and all the used plugins which is exactly the expected file size here.
This will thus add a 2.8MB download size to the next package, but save downloading any babel dependencies separately, removing a large number of package dependencies from the overall install.