-
Notifications
You must be signed in to change notification settings - Fork 26.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(next-config-ts): properly handle ESM #68365
base: canary
Are you sure you want to change the base?
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. Join @devjiwonchoi and the rest of your teammates on Graphite |
Failing test suitesCommit: a2e740e
Expand output● next-config-ts-dynamic-import › should support dynamic import
Read more about building and testing Next.js in contributing.md.
Expand output● next-config-ts-top-level-await › should support top-level await
Read more about building and testing Next.js in contributing.md. |
Stats from current PRDefault Build (Increase detected
|
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
buildDuration | 18.6s | 15.8s | N/A |
buildDurationCached | 8.6s | 7.3s | N/A |
nodeModulesSize | 358 MB | 358 MB | ✓ |
nextStartRea..uration (ms) | 436ms | 429ms | N/A |
Client Bundles (main, webpack)
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
4394.HASH.js gzip | 169 B | 168 B | N/A |
5731-HASH.js gzip | 42.5 kB | 42.5 kB | N/A |
847-HASH.js gzip | 5.25 kB | 5.25 kB | N/A |
fdaa3b51-HASH.js gzip | 52.6 kB | 52.6 kB | ✓ |
framework-HASH.js gzip | 57.4 kB | 57.4 kB | N/A |
main-app-HASH.js gzip | 225 B | 225 B | ✓ |
main-HASH.js gzip | 32.6 kB | 32.6 kB | N/A |
webpack-HASH.js gzip | 1.71 kB | 1.71 kB | N/A |
Overall change | 52.8 kB | 52.8 kB | ✓ |
Legacy Client Bundles (polyfills)
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
polyfills-HASH.js gzip | 31 kB | 31 kB | ✓ |
Overall change | 31 kB | 31 kB | ✓ |
Client Pages
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
_app-HASH.js gzip | 194 B | 193 B | N/A |
_error-HASH.js gzip | 192 B | 192 B | ✓ |
amp-HASH.js gzip | 509 B | 510 B | N/A |
css-HASH.js gzip | 342 B | 343 B | N/A |
dynamic-HASH.js gzip | 1.84 kB | 1.84 kB | N/A |
edge-ssr-HASH.js gzip | 266 B | 265 B | N/A |
head-HASH.js gzip | 365 B | 360 B | N/A |
hooks-HASH.js gzip | 389 B | 391 B | N/A |
image-HASH.js gzip | 4.4 kB | 4.4 kB | N/A |
index-HASH.js gzip | 268 B | 268 B | ✓ |
link-HASH.js gzip | 2.82 kB | 2.81 kB | N/A |
routerDirect..HASH.js gzip | 328 B | 327 B | N/A |
script-HASH.js gzip | 392 B | 396 B | N/A |
withRouter-HASH.js gzip | 324 B | 324 B | ✓ |
1afbb74e6ecf..834.css gzip | 106 B | 106 B | ✓ |
Overall change | 890 B | 890 B | ✓ |
Client Build Manifests
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
_buildManifest.js gzip | 745 B | 749 B | N/A |
Overall change | 0 B | 0 B | ✓ |
Rendered Page Sizes
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
index.html gzip | 523 B | 523 B | ✓ |
link.html gzip | 538 B | 536 B | N/A |
withRouter.html gzip | 519 B | 518 B | N/A |
Overall change | 523 B | 523 B | ✓ |
Edge SSR bundle Size
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
edge-ssr.js gzip | 128 kB | 128 kB | N/A |
page.js gzip | 180 kB | 180 kB | N/A |
Overall change | 0 B | 0 B | ✓ |
Middleware size
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
middleware-b..fest.js gzip | 667 B | 671 B | N/A |
middleware-r..fest.js gzip | 156 B | 156 B | ✓ |
middleware.js gzip | 29.8 kB | 29.8 kB | N/A |
edge-runtime..pack.js gzip | 844 B | 844 B | ✓ |
Overall change | 1 kB | 1 kB | ✓ |
Next Runtimes
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
973-experime...dev.js gzip | 322 B | 322 B | ✓ |
973.runtime.dev.js gzip | 314 B | 314 B | ✓ |
app-page-exp...dev.js gzip | 317 kB | 317 kB | ✓ |
app-page-exp..prod.js gzip | 125 kB | 125 kB | ✓ |
app-page-tur..prod.js gzip | 139 kB | 139 kB | ✓ |
app-page-tur..prod.js gzip | 134 kB | 134 kB | ✓ |
app-page.run...dev.js gzip | 308 kB | 308 kB | ✓ |
app-page.run..prod.js gzip | 121 kB | 121 kB | ✓ |
app-route-ex...dev.js gzip | 31.2 kB | 31.2 kB | ✓ |
app-route-ex..prod.js gzip | 21.1 kB | 21.1 kB | ✓ |
app-route-tu..prod.js gzip | 21.1 kB | 21.1 kB | ✓ |
app-route-tu..prod.js gzip | 20.9 kB | 20.9 kB | ✓ |
app-route.ru...dev.js gzip | 32.9 kB | 32.9 kB | ✓ |
app-route.ru..prod.js gzip | 20.9 kB | 20.9 kB | ✓ |
pages-api-tu..prod.js gzip | 9.62 kB | 9.62 kB | ✓ |
pages-api.ru...dev.js gzip | 11.5 kB | 11.5 kB | ✓ |
pages-api.ru..prod.js gzip | 9.61 kB | 9.61 kB | ✓ |
pages-turbo...prod.js gzip | 20.8 kB | 20.8 kB | ✓ |
pages.runtim...dev.js gzip | 26.4 kB | 26.4 kB | ✓ |
pages.runtim..prod.js gzip | 20.8 kB | 20.8 kB | ✓ |
server.runti..prod.js gzip | 57.7 kB | 57.7 kB | ✓ |
Overall change | 1.45 MB | 1.45 MB | ✓ |
build cache Overall increase ⚠️
vercel/next.js canary | vercel/next.js 08-01-test_add_dynamic_import | Change | |
---|---|---|---|
0.pack gzip | 1.65 MB | 1.65 MB | |
index.pack gzip | 131 kB | 131 kB | |
Overall change | 1.78 MB | 1.79 MB |
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
/***/
},
- /***/ 4974: /***/ (
+ /***/ 2595: /***/ (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -30,7 +30,7 @@
default: () => /* binding */ nHandler,
});
- // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsafnwGL%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+ // NAMESPACE OBJECT: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsafnwGL%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
var page_next_edge_ssr_entry_namespaceObject = {};
__webpack_require__.r(page_next_edge_ssr_entry_namespaceObject);
__webpack_require__.d(page_next_edge_ssr_entry_namespaceObject, {
@@ -69,35 +69,35 @@
tree: () => tree,
});
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/web/globals.js
- var globals = __webpack_require__(8712);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
- var adapter = __webpack_require__(8733);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
- var render = __webpack_require__(1208);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
- var incremental_cache = __webpack_require__(3302);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
- var app_render = __webpack_require__(8006);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
- var module_compiled = __webpack_require__(1535);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/route-kind.js
- var route_kind = __webpack_require__(9859);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/client/components/error-boundary.js
- var error_boundary = __webpack_require__(3960);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
- var entry_base = __webpack_require__(6178); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsafnwGL%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/web/globals.js
+ var globals = __webpack_require__(7509);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+ var adapter = __webpack_require__(983);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
+ var render = __webpack_require__(6565);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+ var incremental_cache = __webpack_require__(5011);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
+ var app_render = __webpack_require__(1245);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+ var module_compiled = __webpack_require__(180);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/route-kind.js
+ var route_kind = __webpack_require__(8640);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/client/components/error-boundary.js
+ var error_boundary = __webpack_require__(9621);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
+ var entry_base = __webpack_require__(6795); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/build/webpack/loaders/next-app-loader.js?name=app%2Fapp-edge-ssr%2Fpage&page=%2Fapp-edge-ssr%2Fpage&pagePath=private-next-app-dir%2Fapp-edge-ssr%2Fpage.js&appDir=%2Ftmp%2Fnext-statsafnwGL%2Fstats-app%2Fapp&appPaths=%2Fapp-edge-ssr%2Fpage&pageExtensions=tsx&pageExtensions=ts&pageExtensions=jsx&pageExtensions=js&basePath=&assetPrefix=&nextConfigOutput=&flyingShuttle=false&preferredRegion=&middlewareConfig=e30%3D!./app/app-edge-ssr/page.js?__next_edge_ssr_entry__
const component0 = () =>
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 918)
+ __webpack_require__.bind(__webpack_require__, 1949)
);
const component1 = () =>
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 3499)
+ __webpack_require__.bind(__webpack_require__, 3551)
);
const page2 = () =>
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 3115)
+ __webpack_require__.bind(__webpack_require__, 6074)
);
// We inject the tree and pages here so that we can use them in the route
@@ -163,12 +163,12 @@
});
//# sourceMappingURL=app-page.js.map
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/lib/page-types.js
- var page_types = __webpack_require__(357);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/app-render/encryption-utils.js
- var encryption_utils = __webpack_require__(9635);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/esm/server/app-render/action-utils.js
- var action_utils = __webpack_require__(9737); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","dev":false,"isServerComponent":true,"page":"/app-edge-ssr/page","stringifiedConfig":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcyI6dHJ1ZSwiaW1hZ2VzIjp7ImRldmljZVNpemVzIjpbNjQwLDc1MCw4MjgsMTA4MCwxMjAwLDE5MjAsMjA0OCwzODQwXSwiaW1hZ2VTaXplcyI6WzE2LDMyLDQ4LDY0LDk2LDEyOCwyNTYsMzg0XSwicGF0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RzYWZud0dMJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/lib/page-types.js
+ var page_types = __webpack_require__(5524);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+ var encryption_utils = __webpack_require__(3192);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/esm/server/app-render/action-utils.js
+ var action_utils = __webpack_require__(8549); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js?{"absolute500Path":"","absoluteAppPath":"next/dist/pages/_app","absoluteDocumentPath":"next/dist/pages/_document","absoluteErrorPath":"next/dist/pages/_error","absolutePagePath":"private-next-app-dir/app-edge-ssr/page.js","d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ler = null;
@@ -432,50 +432,50 @@
/***/
},
- /***/ 7863: /***/ (
+ /***/ 3400: /***/ (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
) => {
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 2710)
+ __webpack_require__.bind(__webpack_require__, 3683)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 8977)
+ __webpack_require__.bind(__webpack_require__, 7967)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 8112)
+ __webpack_require__.bind(__webpack_require__, 8760)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 9222)
+ __webpack_require__.bind(__webpack_require__, 4055)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 312)
+ __webpack_require__.bind(__webpack_require__, 7237)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 5915)
+ __webpack_require__.bind(__webpack_require__, 8502)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 2570)
+ __webpack_require__.bind(__webpack_require__, 1167)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 7566)
+ __webpack_require__.bind(__webpack_require__, 4625)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 8732)
+ __webpack_require__.bind(__webpack_require__, 6281)
);
Promise.resolve(/* import() eager */).then(
- __webpack_require__.bind(__webpack_require__, 5219)
+ __webpack_require__.bind(__webpack_require__, 9323)
);
/***/
},
- /***/ 8256: /***/ () => {
+ /***/ 5317: /***/ () => {
/***/
},
- /***/ 3115: /***/ (
+ /***/ 6074: /***/ (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -495,7 +495,7 @@
/***/
},
- /***/ 918: /***/ (
+ /***/ 1949: /***/ (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -507,7 +507,7 @@
/* harmony export */
});
/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ =
- __webpack_require__(171);
+ __webpack_require__(1163);
function RootLayout({ children }) {
return /*#__PURE__*/ (0,
@@ -526,7 +526,7 @@
// webpackRuntimeModules
/******/ var __webpack_exec__ = (moduleId) =>
__webpack_require__((__webpack_require__.s = moduleId));
- /******/ __webpack_require__.O(0, [592, 990], () => __webpack_exec__(4974));
+ /******/ __webpack_require__.O(0, [205, 628], () => __webpack_exec__(2595));
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ (_ENTRIES = typeof _ENTRIES === "undefined" ? {} : _ENTRIES)[
"middleware_app/app-edge-ssr/page"
Diff for middleware.js
Diff too large to display
Diff for edge-ssr.js
Diff too large to display
Diff for image-HASH.js
@@ -1,7 +1,7 @@
(self["webpackChunk_N_E"] = self["webpackChunk_N_E"] || []).push([
[8358],
{
- /***/ 5506: /***/ (
+ /***/ 191: /***/ (
__unused_webpack_module,
__unused_webpack_exports,
__webpack_require__
@@ -9,7 +9,7 @@
(window.__NEXT_P = window.__NEXT_P || []).push([
"/image",
function () {
- return __webpack_require__(3203);
+ return __webpack_require__(3846);
},
]);
if (false) {
@@ -18,7 +18,7 @@
/***/
},
- /***/ 6912: /***/ (module, exports, __webpack_require__) => {
+ /***/ 3396: /***/ (module, exports, __webpack_require__) => {
"use strict";
/* __next_internal_client_entry_do_not_use__ cjs */
Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
__webpack_require__(4057)
);
const _head = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(3163)
+ __webpack_require__(85)
);
- const _getimgprops = __webpack_require__(525);
- const _imageconfig = __webpack_require__(3973);
- const _imageconfigcontextsharedruntime = __webpack_require__(59);
- const _warnonce = __webpack_require__(3546);
- const _routercontextsharedruntime = __webpack_require__(7933);
+ const _getimgprops = __webpack_require__(8926);
+ const _imageconfig = __webpack_require__(2844);
+ const _imageconfigcontextsharedruntime = __webpack_require__(3603);
+ const _warnonce = __webpack_require__(6702);
+ const _routercontextsharedruntime = __webpack_require__(4628);
const _imageloader = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(1551)
+ __webpack_require__(6882)
);
- const _usemergedref = __webpack_require__(3472);
+ const _usemergedref = __webpack_require__(273);
// This is replaced by webpack define plugin
const configEnv = {
deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
/***/
},
- /***/ 3472: /***/ (module, exports, __webpack_require__) => {
+ /***/ 273: /***/ (module, exports, __webpack_require__) => {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -440,7 +440,7 @@
/***/
},
- /***/ 525: /***/ (
+ /***/ 8926: /***/ (
__unused_webpack_module,
exports,
__webpack_require__
@@ -456,9 +456,9 @@
return getImgProps;
},
});
- const _warnonce = __webpack_require__(3546);
- const _imageblursvg = __webpack_require__(9566);
- const _imageconfig = __webpack_require__(3973);
+ const _warnonce = __webpack_require__(6702);
+ const _imageblursvg = __webpack_require__(4305);
+ const _imageconfig = __webpack_require__(2844);
const VALID_LOADING_VALUES =
/* unused pure expression or super */ null && [
"lazy",
@@ -830,7 +830,7 @@
/***/
},
- /***/ 9566: /***/ (__unused_webpack_module, exports) => {
+ /***/ 4305: /***/ (__unused_webpack_module, exports) => {
"use strict";
/**
* A shared function, used on both client and server, to generate a SVG blur placeholder.
@@ -885,7 +885,7 @@
/***/
},
- /***/ 7099: /***/ (
+ /***/ 6730: /***/ (
__unused_webpack_module,
exports,
__webpack_require__
@@ -912,10 +912,10 @@
},
});
const _interop_require_default = __webpack_require__(9608);
- const _getimgprops = __webpack_require__(525);
- const _imagecomponent = __webpack_require__(6912);
+ const _getimgprops = __webpack_require__(8926);
+ const _imagecomponent = __webpack_require__(3396);
const _imageloader = /*#__PURE__*/ _interop_require_default._(
- __webpack_require__(1551)
+ __webpack_require__(6882)
);
function getImageProps(imgProps) {
const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -947,7 +947,7 @@
/***/
},
- /***/ 1551: /***/ (__unused_webpack_module, exports) => {
+ /***/ 6882: /***/ (__unused_webpack_module, exports) => {
"use strict";
Object.defineProperty(exports, "__esModule", {
@@ -982,7 +982,7 @@
/***/
},
- /***/ 3203: /***/ (
+ /***/ 3846: /***/ (
__unused_webpack_module,
__webpack_exports__,
__webpack_require__
@@ -999,8 +999,8 @@
// EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-94e652d5-20240912/node_modules/react/jsx-runtime.js
var jsx_runtime = __webpack_require__(9068);
- // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_znt3zgjh37lulhfy3loxpvgybi/node_modules/next/image.js
- var next_image = __webpack_require__(2516);
+ // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-94e652d5-20240912_re_qwfzaq3kqc33tronlef5jk5qey/node_modules/next/image.js
+ var next_image = __webpack_require__(6631);
var image_default = /*#__PURE__*/ __webpack_require__.n(next_image); // CONCATENATED MODULE: ./pages/nextjs.png
/* harmony default export */ const nextjs = {
src: "/_next/static/media/nextjs.cae0b805.png",
@@ -1030,12 +1030,12 @@
/***/
},
- /***/ 2516: /***/ (
+ /***/ 6631: /***/ (
module,
__unused_webpack_exports,
__webpack_require__
) => {
- module.exports = __webpack_require__(7099);
+ module.exports = __webpack_require__(6730);
/***/
},
@@ -1045,7 +1045,7 @@
/******/ var __webpack_exec__ = (moduleId) =>
__webpack_require__((__webpack_require__.s = moduleId));
/******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
- __webpack_exec__(5506)
+ __webpack_exec__(191)
);
/******/ var __webpack_exports__ = __webpack_require__.O();
/******/ _N_E = __webpack_exports__;
Diff for main-HASH.js
Diff too large to display
<!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? ### Why? ### How? Closes NEXT- Fixes # -->
This sounds amazing! 😍 I guess this will also resolve other ESM-related errors like From the error stack trace below, it seems like it's still using the Node.js CommonJS loader internally... $ next build
⨯ Failed to load next.config.ts, see more info here https://nextjs.org/docs/messages/next-config-error
> Build error occurred
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in /home/runner/work/courses/courses/node_modules/@shikijs/vscode-textmate/package.json
at exportsNotFound (node:internal/modules/esm/resolve:304:10)
at packageExportsResolve (node:internal/modules/esm/resolve:594:13)
at resolveExports (node:internal/modules/cjs/loader:634:36)
at Module._findPath (node:internal/modules/cjs/loader:724:31)
at Module._resolveFilename (node:internal/modules/cjs/loader:1211:27)
at /home/runner/work/courses/courses/node_modules/next/dist/server/require-hook.js:55:36
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at mod.require (/home/runner/work/courses/courses/node_modules/next/dist/server/require-hook.js:65:28)
at require (node:internal/modules/helpers:179:18) {
code: 'ERR_PACKAGE_PATH_NOT_EXPORTED'
}
import withMDX from '@next/mdx';
import rehypeShiki from '@shikijs/rehype';
import type { NextConfig } from 'next';
// ...
const config: NextConfig = {
reactStrictMode: true,
experimental: {
typedRoutes: true,
// Remove .js from import specifiers, because Next.js and
// webpack do not yet support TypeScript-style module
// resolution out of the box
// https://github.com/webpack/webpack/issues/13252#issuecomment-1171080020
// https://github.com/vercel/next.js/pull/45423
// https://github.com/vercel/next.js/issues/58805
// https://github.com/vercel/next.js/issues/54550
extensionAlias: {
'.js': ['.ts', '.tsx', '.js', '.jsx'],
'.jsx': ['.tsx', '.jsx'],
'.mjs': ['.mts', '.mjs'],
'.cjs': ['.cts', '.cjs'],
},
},
pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
// ...
transpilePackages: ['@upleveled/cargobay', '@upleveled/global-config'],
// ...
};
export default withMDX({
options: {
// ...
rehypePlugins: [
// ...
[
rehypeShiki,
{
theme: 'dark-plus',
},
],
],
},
})(config); This is with this {
"name": "@shikijs/vscode-textmate",
"version": "9.2.2",
"packageManager": "pnpm@9.9.0",
"description": "Shiki's fork of `vscode-textmate`",
"author": {
"name": "Microsoft Corporation"
},
"exports": {
".": {
"import": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
},
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"repository": {
"type": "git",
"url": "https://github.com/shikijs/vscode-textmate"
},
"files": [
"dist"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/shikijs/vscode-textmate/issues"
},
"scripts": {
"build": "tsup",
"watch": "tsc --watch",
"compile": "tsc",
"test": "mocha --ui=tdd ./out/tests/all.test.js",
"benchmark": "node benchmark/benchmark.js",
"inspect": "node out/tests/inspect.js",
"tmconvert": "node scripts/tmconvert.js",
"version": "npm run compile && npm run test",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@types/node": "^16.6.1",
"bumpp": "^9.5.2",
"mocha": "^9.2.2",
"tsup": "^8.2.4",
"typescript": "^4.3.5",
"vscode-oniguruma": "^1.5.1"
}
} @devjiwonchoi Or if this is unrelated, I can also open a different issue... |
Also potentially related: |
@devjiwonchoi for ESM projects using I'm ok with disabling the CommonJS behavior - this particular project is ESM. I tried for a few minutes reading through the SWC docs and checking out the files in the
But my first attempts failed so far... not familiar with common SWC patterns for this. Maybe upgrading to Node.js v22 for |
WorkaroundFor my use case, it seems like the
diff --git a/node_modules/next/dist/build/next-config-ts/transpile-config.js b/node_modules/next/dist/build/next-config-ts/transpile-config.js
index f61819c..3f87f9b 100644
--- a/node_modules/next/dist/build/next-config-ts/transpile-config.js
+++ b/node_modules/next/dist/build/next-config-ts/transpile-config.js
@@ -24,7 +24,7 @@ function resolveSWCOptions(cwd, compilerOptions) {
baseUrl: resolvedBaseUrl
},
module: {
- type: 'commonjs'
+ type: 'es6'
},
isModule: 'unknown'
};
@@ -59,8 +59,12 @@ async function transpileConfig({ nextConfigPath, cwd }) {
(0, _requirehook.registerHook)(swcOptions);
hasRequire = true;
}
- // filename & extension don't matter here
- return (0, _requirehook.requireFromString)(code, (0, _nodepath.join)(cwd, 'next.config.compiled.js'));
+ // Support ESM in next.config.ts
+ // https://github.com/vercel/next.js/pull/68365#issuecomment-2358349887
+ const compiledConfigPath = (0, _nodepath.join)(cwd, '.next', 'next.config.compiled.mjs');
+ await (0, _promises.mkdir)((0, _nodepath.join)(cwd, '.next'), { recursive: true });
+ await (0, _promises.writeFile)(compiledConfigPath, code, 'utf8');
+ return await import(compiledConfigPath);
} catch (error) {
throw error;
} finally{ Downside: Creates a new file in the If you want to apply this patch, check out |
@karlhorky Hi, thank you for sharing your case! I'm currently investigating on it, and will bring what's the best for you and the community's cases! Again, thank you for your suggestion, and patience. |
Why?
How?
When the project is Native ESM (package.json
type: "module"
) or usednext.config.mts
, we register a custom loader to resolve the ESM behaviors.Expected
Fixes #67765