-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
transpilePackages should override default settings for external packages #59385
Conversation
Tests Passed |
…verComponentsExternalPackages
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.
could you add a test?
@feedthejim pls advise on how to add a test for this. |
Stats from current PRDefault BuildGeneral
Client Bundles (main, webpack)
Legacy Client Bundles (polyfills)
Client Pages
Client Build Manifests
Rendered Page Sizes
Edge SSR bundle Size
Middleware size
Next Runtimes
Diff detailsDiff for page.jsDiff too large to display Diff for edge-ssr.jsDiff too large to display Diff for dynamic-HASH.js@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[739],
{
- /***/ 8484: /***/ function (
+ /***/ 9816: /***/ function (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/dynamic",
function () {
- return __webpack_require__(1752);
+ return __webpack_require__(2646);
},
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6595: /***/ function (module, exports, __webpack_require__) {
+ /***/ 9588: /***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -41,12 +41,11 @@
},
});
const _interop_require_default = __webpack_require__(1351);
- const _jsxruntime = __webpack_require__(1527);
const _react = /*#__PURE__*/ _interop_require_default._(
__webpack_require__(959)
);
const _loadablesharedruntime = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(5643)
+ __webpack_require__(2397)
);
const isServerSide = "object" === "undefined";
// Normalize loader to return the module as form { default: Component } for `React.lazy`.
@@ -68,7 +67,7 @@
const Loading = loadableOptions.loading;
// This will only be rendered on the server side
return () =>
- /*#__PURE__*/ (0, _jsxruntime.jsx)(Loading, {
+ /*#__PURE__*/ _react.default.createElement(Loading, {
error: null,
isLoading: true,
pastDelay: false,
@@ -147,7 +146,7 @@
/***/
},
- /***/ 1674: /***/ function (
+ /***/ 3047: /***/ function (
__unused_webpack_module,
exports,
__webpack_require__
@@ -174,7 +173,7 @@
/***/
},
- /***/ 5643: /***/ function (
+ /***/ 2397: /***/ function (
__unused_webpack_module,
exports,
__webpack_require__
@@ -216,7 +215,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
const _react = /*#__PURE__*/ _interop_require_default._(
__webpack_require__(959)
);
- const _loadablecontextsharedruntime = __webpack_require__(1674);
+ const _loadablecontextsharedruntime = __webpack_require__(3047);
function resolve(obj) {
return obj && obj.default ? obj.default : obj;
}
@@ -451,7 +450,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
/***/
},
- /***/ 1752: /***/ function (
+ /***/ 2646: /***/ function (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -467,7 +466,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
__webpack_require__(1527);
/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1__ =
- __webpack_require__(5620);
+ __webpack_require__(4438);
/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_1___default =
/*#__PURE__*/ __webpack_require__.n(
next_dynamic__WEBPACK_IMPORTED_MODULE_1__
@@ -476,11 +475,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
const DynamicHello = next_dynamic__WEBPACK_IMPORTED_MODULE_1___default()(
() =>
__webpack_require__
- .e(/* import() */ 199)
- .then(__webpack_require__.bind(__webpack_require__, 9199)),
+ .e(/* import() */ 639)
+ .then(__webpack_require__.bind(__webpack_require__, 2639)),
{
loadableGenerated: {
- webpack: () => [/*require.resolve*/ 9199],
+ webpack: () => [/*require.resolve*/ 2639],
},
}
);
@@ -507,12 +506,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
/***/
},
- /***/ 5620: /***/ function (
+ /***/ 4438: /***/ function (
module,
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(6595);
+ module.exports = __webpack_require__(9588);
/***/
},
@@ -522,8 +521,8 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
/******/ var __webpack_exec__ = function (moduleId) {
return __webpack_require__((__webpack_require__.s = moduleId));
};
- /******/ __webpack_require__.O(0, [888, 774, 179], function () {
- return __webpack_exec__(8484);
+ /******/ __webpack_require__.O(0, [774, 888, 179], function () {
+ return __webpack_exec__(9816);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__; Diff for image-HASH.js@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[358],
{
- /***/ 1552: /***/ function (
+ /***/ 4070: /***/ function (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/image",
function () {
- return __webpack_require__(7459);
+ return __webpack_require__(3489);
},
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 7534: /***/ function (module, exports, __webpack_require__) {
+ /***/ 2145: /***/ function (module, exports, __webpack_require__) {
"use strict";
/* __next_internal_client_entry_do_not_use__ cjs */
Object.defineProperty(exports, "__esModule", {
@@ -32,7 +32,6 @@
});
const _interop_require_default = __webpack_require__(1351);
const _interop_require_wildcard = __webpack_require__(5815);
- const _jsxruntime = __webpack_require__(1527);
const _react = /*#__PURE__*/ _interop_require_wildcard._(
__webpack_require__(959)
);
@@ -40,15 +39,15 @@
__webpack_require__(422)
);
const _head = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(4684)
+ __webpack_require__(9762)
);
- const _getimgprops = __webpack_require__(8622);
- const _imageconfig = __webpack_require__(2584);
- const _imageconfigcontextsharedruntime = __webpack_require__(8266);
- const _warnonce = __webpack_require__(7604);
- const _routercontextsharedruntime = __webpack_require__(2274);
+ const _getimgprops = __webpack_require__(9642);
+ const _imageconfig = __webpack_require__(37);
+ const _imageconfigcontextsharedruntime = __webpack_require__(371);
+ const _warnonce = __webpack_require__(6636);
+ const _routercontextsharedruntime = __webpack_require__(7865);
const _imageloader = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(8293)
+ __webpack_require__(4526)
);
// This is replaced by webpack define plugin
const configEnv = {
@@ -169,7 +168,7 @@
onError,
...rest
} = param;
- return /*#__PURE__*/ (0, _jsxruntime.jsx)("img", {
+ return /*#__PURE__*/ _react.default.createElement("img", {
...rest,
...getDynamicProps(fetchPriority),
// It's intended to keep `loading` before `src` because React updates
@@ -274,25 +273,25 @@
_reactdom.default.preload(imgAttributes.src, opts);
return null;
}
- return /*#__PURE__*/ (0, _jsxruntime.jsx)(_head.default, {
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)(
- "link",
- {
- rel: "preload",
- // Note how we omit the `href` attribute, as it would only be relevant
- // for browsers that do not support `imagesrcset`, and in those cases
- // it would cause the incorrect image to be preloaded.
- //
- // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
- href: imgAttributes.srcSet ? undefined : imgAttributes.src,
- ...opts,
- },
- "__nimg-" +
+ return /*#__PURE__*/ _react.default.createElement(
+ _head.default,
+ null,
+ /*#__PURE__*/ _react.default.createElement("link", {
+ key:
+ "__nimg-" +
imgAttributes.src +
imgAttributes.srcSet +
- imgAttributes.sizes
- ),
- });
+ imgAttributes.sizes,
+ rel: "preload",
+ // Note how we omit the `href` attribute, as it would only be relevant
+ // for browsers that do not support `imagesrcset`, and in those cases
+ // it would cause the incorrect image to be preloaded.
+ //
+ // https://html.spec.whatwg.org/multipage/semantics.html#attr-link-imagesrcset
+ href: imgAttributes.srcSet ? undefined : imgAttributes.src,
+ ...opts,
+ })
+ );
}
const Image = /*#__PURE__*/ (0, _react.forwardRef)(
(props, forwardedRef) => {
@@ -335,27 +334,27 @@
blurComplete,
showAltText,
});
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
- children: [
- /*#__PURE__*/ (0, _jsxruntime.jsx)(ImageElement, {
- ...imgAttributes,
- unoptimized: imgMeta.unoptimized,
- placeholder: imgMeta.placeholder,
- fill: imgMeta.fill,
- onLoadRef: onLoadRef,
- onLoadingCompleteRef: onLoadingCompleteRef,
- setBlurComplete: setBlurComplete,
- setShowAltText: setShowAltText,
- ref: forwardedRef,
- }),
- imgMeta.priority
- ? /*#__PURE__*/ (0, _jsxruntime.jsx)(ImagePreload, {
- isAppRouter: isAppRouter,
- imgAttributes: imgAttributes,
- })
- : null,
- ],
- });
+ return /*#__PURE__*/ _react.default.createElement(
+ _react.default.Fragment,
+ null,
+ /*#__PURE__*/ _react.default.createElement(ImageElement, {
+ ...imgAttributes,
+ unoptimized: imgMeta.unoptimized,
+ placeholder: imgMeta.placeholder,
+ fill: imgMeta.fill,
+ onLoadRef: onLoadRef,
+ onLoadingCompleteRef: onLoadingCompleteRef,
+ setBlurComplete: setBlurComplete,
+ setShowAltText: setShowAltText,
+ ref: forwardedRef,
+ }),
+ imgMeta.priority
+ ? /*#__PURE__*/ _react.default.createElement(ImagePreload, {
+ isAppRouter: isAppRouter,
+ imgAttributes: imgAttributes,
+ })
+ : null
+ );
}
);
if (
@@ -373,7 +372,7 @@
/***/
},
- /***/ 8622: /***/ function (
+ /***/ 9642: /***/ function (
__unused_webpack_module,
exports,
__webpack_require__
@@ -389,9 +388,9 @@
return getImgProps;
},
});
- const _warnonce = __webpack_require__(7604);
- const _imageblursvg = __webpack_require__(6528);
- const _imageconfig = __webpack_require__(2584);
+ const _warnonce = __webpack_require__(6636);
+ const _imageblursvg = __webpack_require__(9354);
+ const _imageconfig = __webpack_require__(37);
const VALID_LOADING_VALUES =
/* unused pure expression or super */ null && [
"lazy",
@@ -760,7 +759,7 @@
/***/
},
- /***/ 6528: /***/ function (__unused_webpack_module, exports) {
+ /***/ 9354: /***/ function (__unused_webpack_module, exports) {
"use strict";
/**
* A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -815,7 +814,7 @@
/***/
},
- /***/ 1406: /***/ function (
+ /***/ 3569: /***/ function (
__unused_webpack_module,
exports,
__webpack_require__
@@ -842,11 +841,11 @@
},
});
const _interop_require_default = __webpack_require__(1351);
- const _getimgprops = __webpack_require__(8622);
- const _warnonce = __webpack_require__(7604);
- const _imagecomponent = __webpack_require__(7534);
+ const _getimgprops = __webpack_require__(9642);
+ const _warnonce = __webpack_require__(6636);
+ const _imagecomponent = __webpack_require__(2145);
const _imageloader = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(8293)
+ __webpack_require__(4526)
);
const unstable_getImgProps = (imgProps) => {
(0, _warnonce.warnOnce)(
@@ -878,7 +877,7 @@
/***/
},
- /***/ 8293: /***/ function (__unused_webpack_module, exports) {
+ /***/ 4526: /***/ function (__unused_webpack_module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -913,7 +912,7 @@
/***/
},
- /***/ 7459: /***/ function (
+ /***/ 3489: /***/ function (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -934,8 +933,8 @@
// EXTERNAL MODULE: ./node_modules/.pnpm/[email protected]/node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(1527);
- // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected][email protected]/node_modules/next/image.js
- var next_image = __webpack_require__(1577);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/[email protected][email protected]/node_modules/next/image.js
+ var next_image = __webpack_require__(73);
var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
/* harmony default export */ var nextjs = {
src: "/_next/static/media/nextjs.cae0b805.png",
@@ -965,12 +964,12 @@
/***/
},
- /***/ 1577: /***/ function (
+ /***/ 73: /***/ function (
module,
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(1406);
+ module.exports = __webpack_require__(3569);
/***/
},
@@ -980,8 +979,8 @@
/******/ var __webpack_exec__ = function (moduleId) {
return __webpack_require__((__webpack_require__.s = moduleId));
};
- /******/ __webpack_require__.O(0, [888, 774, 179], function () {
- return __webpack_exec__(1552);
+ /******/ __webpack_require__.O(0, [774, 888, 179], function () {
+ return __webpack_exec__(4070);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__; Diff for link-HASH.js@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[644],
{
- /***/ 5310: /***/ function (
+ /***/ 8959: /***/ function (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/link",
function () {
- return __webpack_require__(6108);
+ return __webpack_require__(498);
},
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 5060: /***/ function (module, exports) {
+ /***/ 7699: /***/ function (module, exports) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -100,7 +100,7 @@
/***/
},
- /***/ 514: /***/ function (module, exports, __webpack_require__) {
+ /***/ 7642: /***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -112,7 +112,7 @@
return getDomainLocale;
},
});
- const _normalizetrailingslash = __webpack_require__(1638);
+ const _normalizetrailingslash = __webpack_require__(8809);
const basePath =
/* unused pure expression or super */ null && (false || "");
function getDomainLocale(path, locale, locales, domainLocales) {
@@ -136,7 +136,7 @@
/***/
},
- /***/ 8949: /***/ function (module, exports, __webpack_require__) {
+ /***/ 3290: /***/ function (module, exports, __webpack_require__) {
"use strict";
/* __next_internal_client_entry_do_not_use__ cjs */
Object.defineProperty(exports, "__esModule", {
@@ -149,21 +149,20 @@
},
});
const _interop_require_default = __webpack_require__(1351);
- const _jsxruntime = __webpack_require__(1527);
const _react = /*#__PURE__*/ _interop_require_default._(
__webpack_require__(959)
);
- const _resolvehref = __webpack_require__(7515);
- const _islocalurl = __webpack_require__(9517);
- const _formaturl = __webpack_require__(2797);
- const _utils = __webpack_require__(7001);
- const _addlocale = __webpack_require__(2123);
- const _routercontextsharedruntime = __webpack_require__(2274);
- const _approutercontextsharedruntime = __webpack_require__(5294);
- const _useintersection = __webpack_require__(9242);
- const _getdomainlocale = __webpack_require__(514);
- const _addbasepath = __webpack_require__(4862);
- const _routerreducertypes = __webpack_require__(5060);
+ const _resolvehref = __webpack_require__(730);
+ const _islocalurl = __webpack_require__(8765);
+ const _formaturl = __webpack_require__(8557);
+ const _utils = __webpack_require__(1099);
+ const _addlocale = __webpack_require__(3973);
+ const _routercontextsharedruntime = __webpack_require__(7865);
+ const _approutercontextsharedruntime = __webpack_require__(2212);
+ const _useintersection = __webpack_require__(495);
+ const _getdomainlocale = __webpack_require__(7642);
+ const _addbasepath = __webpack_require__(4777);
+ const _routerreducertypes = __webpack_require__(7699);
const prefetched = new Set();
function prefetch(router, href, as, options, appOptions, isAppRouter) {
if (false) {
@@ -289,9 +288,11 @@
legacyBehavior &&
(typeof children === "string" || typeof children === "number")
) {
- children = /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
- children: children,
- });
+ children = /*#__PURE__*/ _react.default.createElement(
+ "a",
+ null,
+ children
+ );
}
const pagesRouter = _react.default.useContext(
_routercontextsharedruntime.RouterContext
@@ -551,11 +552,14 @@
}
return legacyBehavior
? /*#__PURE__*/ _react.default.cloneElement(child, childProps)
- : /*#__PURE__*/ (0, _jsxruntime.jsx)("a", {
- ...restProps,
- ...childProps,
- children: children,
- });
+ : /*#__PURE__*/ _react.default.createElement(
+ "a",
+ {
+ ...restProps,
+ ...childProps,
+ },
+ children
+ );
}
);
const _default = Link;
@@ -574,7 +578,7 @@
/***/
},
- /***/ 9242: /***/ function (module, exports, __webpack_require__) {
+ /***/ 495: /***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -587,7 +591,7 @@
},
});
const _react = __webpack_require__(959);
- const _requestidlecallback = __webpack_require__(7495);
+ const _requestidlecallback = __webpack_require__(9952);
const hasIntersectionObserver =
typeof IntersectionObserver === "function";
const observers = new Map();
@@ -700,7 +704,7 @@
/***/
},
- /***/ 6108: /***/ function (
+ /***/ 498: /***/ function (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -716,7 +720,7 @@
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
__webpack_require__(1527);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ =
- __webpack_require__(3639);
+ __webpack_require__(2075);
/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default =
/*#__PURE__*/ __webpack_require__.n(
next_link__WEBPACK_IMPORTED_MODULE_1__
@@ -747,12 +751,12 @@
/***/
},
- /***/ 3639: /***/ function (
+ /***/ 2075: /***/ function (
module,
__unused_webpack_exports,
__webpack_require__
) {
- module.exports = __webpack_require__(8949);
+ module.exports = __webpack_require__(3290);
/***/
},
@@ -762,8 +766,8 @@
/******/ var __webpack_exec__ = function (moduleId) {
return __webpack_require__((__webpack_require__.s = moduleId));
};
- /******/ __webpack_require__.O(0, [888, 774, 179], function () {
- return __webpack_exec__(5310);
+ /******/ __webpack_require__.O(0, [774, 888, 179], function () {
+ return __webpack_exec__(8959);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__; Diff for 170-HASH.jsDiff too large to display Diff for _not-found-3..de5e1e65f.js@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[165],
{
- /***/ 1729: /***/ function (
+ /***/ 5194: /***/ function (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/_not-found",
function () {
- return __webpack_require__(7200);
+ return __webpack_require__(3514);
},
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 7200: /***/ function (module, exports, __webpack_require__) {
+ /***/ 3514: /***/ function (module, exports, __webpack_require__) {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -31,9 +31,8 @@
},
});
const _interop_require_default = __webpack_require__(7295);
- const _jsxruntime = __webpack_require__(6435);
const _react = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(8288)
+ __webpack_require__(4978)
);
const styles = {
error: {
@@ -67,18 +66,25 @@
},
};
function NotFound() {
- return /*#__PURE__*/ (0, _jsxruntime.jsxs)(_jsxruntime.Fragment, {
- children: [
- /*#__PURE__*/ (0, _jsxruntime.jsx)("title", {
- children: "404: This page could not be found.",
- }),
- /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
+ return /*#__PURE__*/ _react.default.createElement(
+ _react.default.Fragment,
+ null,
+ /*#__PURE__*/ _react.default.createElement(
+ "title",
+ null,
+ "404: This page could not be found."
+ ),
+ /*#__PURE__*/ _react.default.createElement(
+ "div",
+ {
style: styles.error,
- children: /*#__PURE__*/ (0, _jsxruntime.jsxs)("div", {
- children: [
- /*#__PURE__*/ (0, _jsxruntime.jsx)("style", {
- dangerouslySetInnerHTML: {
- /* Minified CSS from
+ },
+ /*#__PURE__*/ _react.default.createElement(
+ "div",
+ null,
+ /*#__PURE__*/ _react.default.createElement("style", {
+ dangerouslySetInnerHTML: {
+ /* Minified CSS from
body { margin: 0; color: #000; background: #fff; }
.next-error-h1 {
border-right: 1px solid rgba(0, 0, 0, .3);
@@ -91,26 +97,33 @@
}
}
*/ __html:
- "body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}",
- },
- }),
- /*#__PURE__*/ (0, _jsxruntime.jsx)("h1", {
- className: "next-error-h1",
- style: styles.h1,
- children: "404",
- }),
- /*#__PURE__*/ (0, _jsxruntime.jsx)("div", {
- style: styles.desc,
- children: /*#__PURE__*/ (0, _jsxruntime.jsx)("h2", {
- style: styles.h2,
- children: "This page could not be found.",
- }),
- }),
- ],
+ "body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}",
+ },
}),
- }),
- ],
- });
+ /*#__PURE__*/ _react.default.createElement(
+ "h1",
+ {
+ className: "next-error-h1",
+ style: styles.h1,
+ },
+ "404"
+ ),
+ /*#__PURE__*/ _react.default.createElement(
+ "div",
+ {
+ style: styles.desc,
+ },
+ /*#__PURE__*/ _react.default.createElement(
+ "h2",
+ {
+ style: styles.h2,
+ },
+ "This page could not be found."
+ )
+ )
+ )
+ )
+ );
}
if (
(typeof exports.default === "function" ||
@@ -132,8 +145,8 @@
/******/ var __webpack_exec__ = function (moduleId) {
return __webpack_require__((__webpack_require__.s = moduleId));
};
- /******/ __webpack_require__.O(0, [904, 170, 744], function () {
- return __webpack_exec__(1729);
+ /******/ __webpack_require__.O(0, [658, 506, 744], function () {
+ return __webpack_exec__(5194);
});
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__; Diff for main-HASH.jsDiff too large to display Diff for app-page-exp..ntime.dev.jsfailed to diff Diff for app-page-exp..time.prod.jsDiff too large to display Diff for app-page-tur..time.prod.jsDiff too large to display Diff for app-page-tur..time.prod.jsDiff too large to display Diff for app-page.runtime.dev.jsfailed to diff Diff for app-page.runtime.prod.jsDiff too large to display Diff for app-route-ex..ntime.dev.jsDiff too large to display Diff for app-route-ex..time.prod.jsDiff too large to display Diff for app-route-tu..time.prod.jsDiff too large to display Diff for app-route-tu..time.prod.jsDiff too large to display Diff for app-route.runtime.dev.jsDiff too large to display Diff for app-route.ru..time.prod.jsDiff too large to display Diff for pages-turbo...time.prod.jsDiff too large to display Diff for pages.runtime.dev.jsDiff too large to display Diff for pages.runtime.prod.jsDiff too large to display |
@feedthejim tests are ready. ptal and merge if this all good now. |
See related #51969. It should no longer apply.