Skip to content
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

feat(turbopack): Apply tree shaking to all user codes #69344

Closed
wants to merge 17 commits into from
Closed

Conversation

kdy1
Copy link
Member

@kdy1 kdy1 commented Aug 27, 2024

What?

Apply server actions transform after the tree shaking so unused actions can be removed.

Why?

The output of server action is not tree-shakable.

How?

Closes PACK-3215

@kdy1 kdy1 self-assigned this Aug 27, 2024
@ijjk ijjk added created-by: Turbopack team PRs by the Turbopack team. Font (next/font) Related to Next.js Font Optimization. Turbopack Related to Turbopack with Next.js. tests labels Aug 27, 2024
@ijjk
Copy link
Member

ijjk commented Aug 27, 2024

Stats from current PR

Default Build (Increase detected ⚠️)
General
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
buildDuration 18.6s 15.9s N/A
buildDurationCached 8.5s 7.3s N/A
nodeModulesSize 358 MB 358 MB
nextStartRea..uration (ms) 429ms 438ms N/A
Client Bundles (main, webpack)
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
6784.HASH.js gzip 169 B 168 B N/A
69c16c59-HASH.js gzip 52.8 kB 52.8 kB N/A
8954-HASH.js gzip 42.5 kB 42.5 kB N/A
8966-HASH.js gzip 5.26 kB 5.25 kB N/A
framework-HASH.js gzip 57.5 kB 57.5 kB N/A
main-app-HASH.js gzip 225 B 223 B N/A
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 0 B 0 B
Legacy Client Bundles (polyfills)
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
polyfills-HASH.js gzip 31 kB 31 kB
Overall change 31 kB 31 kB
Client Pages
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
_app-HASH.js gzip 193 B 193 B
_error-HASH.js gzip 192 B 192 B
amp-HASH.js gzip 512 B 512 B
css-HASH.js gzip 343 B 343 B
dynamic-HASH.js gzip 1.84 kB 1.84 kB
edge-ssr-HASH.js gzip 265 B 266 B N/A
head-HASH.js gzip 365 B 365 B
hooks-HASH.js gzip 391 B 391 B
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.81 kB 2.81 kB N/A
routerDirect..HASH.js gzip 328 B 328 B
script-HASH.js gzip 397 B 396 B N/A
withRouter-HASH.js gzip 322 B 324 B N/A
1afbb74e6ecf..834.css gzip 106 B 106 B
Overall change 4.54 kB 4.54 kB
Client Build Manifests
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
_buildManifest.js gzip 749 B 750 B N/A
Overall change 0 B 0 B
Rendered Page Sizes
vercel/next.js canary vercel/next.js kdy1/pack-3215 Change
index.html gzip 523 B 522 B N/A
link.html gzip 537 B 537 B
withRouter.html gzip 518 B 519 B N/A
Overall change 537 B 537 B
Edge SSR bundle Size
vercel/next.js canary vercel/next.js kdy1/pack-3215 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 kdy1/pack-3215 Change
middleware-b..fest.js gzip 669 B 670 B N/A
middleware-r..fest.js gzip 156 B 157 B N/A
middleware.js gzip 29.8 kB 29.8 kB N/A
edge-runtime..pack.js gzip 844 B 844 B
Overall change 844 B 844 B
Next Runtimes
vercel/next.js canary vercel/next.js kdy1/pack-3215 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.3 kB 31.3 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 21 kB 21 kB
app-route.ru...dev.js gzip 32.9 kB 32.9 kB
app-route.ru..prod.js gzip 21 kB 21 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 kdy1/pack-3215 Change
0.pack gzip 1.65 MB 1.66 MB ⚠️ +3.67 kB
index.pack gzip 132 kB 132 kB N/A
Overall change 1.65 MB 1.66 MB ⚠️ +3.67 kB
Diff details
Diff for page.js
@@ -15,7 +15,7 @@
       /***/
     },
 
-    /***/ 4927: /***/ (
+    /***/ 7085: /***/ (
       __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-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/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-statsGMTsda%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-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/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-statsGMTsda%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-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/web/globals.js
-      var globals = __webpack_require__(9077);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
-      var adapter = __webpack_require__(9180);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
-      var render = __webpack_require__(9369);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
-      var incremental_cache = __webpack_require__(1248);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
-      var app_render = __webpack_require__(7376);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
-      var module_compiled = __webpack_require__(7404);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/route-kind.js
-      var route_kind = __webpack_require__(5410);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/client/components/error-boundary.js
-      var error_boundary = __webpack_require__(1072);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
-      var entry_base = __webpack_require__(8319); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/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-statsGMTsda%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-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/web/globals.js
+      var globals = __webpack_require__(546);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/web/adapter.js + 3 modules
+      var adapter = __webpack_require__(1046);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/build/webpack/loaders/next-edge-ssr-loader/render.js + 85 modules
+      var render = __webpack_require__(3793);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/lib/incremental-cache/index.js + 3 modules
+      var incremental_cache = __webpack_require__(2031);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/app-render/app-render.js + 74 modules
+      var app_render = __webpack_require__(5950);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/route-modules/app-page/module.compiled.js
+      var module_compiled = __webpack_require__(9063);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/route-kind.js
+      var route_kind = __webpack_require__(3257);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/client/components/error-boundary.js
+      var error_boundary = __webpack_require__(1663);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/app-render/entry-base.js + 9 modules
+      var entry_base = __webpack_require__(5487); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/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-statsGMTsda%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__, 3606)
+          __webpack_require__.bind(__webpack_require__, 442)
         );
       const component1 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 4076)
+          __webpack_require__.bind(__webpack_require__, 8406)
         );
       const page2 = () =>
         Promise.resolve(/* import() eager */).then(
-          __webpack_require__.bind(__webpack_require__, 7898)
+          __webpack_require__.bind(__webpack_require__, 7590)
         );
 
       // 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-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/lib/page-types.js
-      var page_types = __webpack_require__(530);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/app-render/encryption-utils.js
-      var encryption_utils = __webpack_require__(5568);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/dist/esm/server/app-render/action-utils.js
-      var action_utils = __webpack_require__(2830); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/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":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOm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ucy9zbCIsInJlYWN0LWljb25zL3RiIiwicmVhY3QtaWNvbnMvdGZpIiwicmVhY3QtaWNvbnMvdGkiLCJyZWFjdC1pY29ucy92c2MiLCJyZWFjdC1pY29ucy93aSJdfSwiYnVuZGxlUGFnZXNSb3V0ZXJEZXBlbmRlbmNpZXMiOmZhbHNlLCJjb25maWdGaWxlIjoiL3RtcC9uZXh0LXN0YXRzR01Uc2RhL3N0YXRzLWFwcC9uZXh0LmNvbmZpZy5qcyIsImNvbmZpZ0ZpbGVOYW1lIjoibmV4dC5jb25maWcuanMifQ==","pagesType":"app","appDirLoader":"bmV4dC1hcHAtbG9hZGVyP25hbWU9YXBwJTJGYXBwLWVkZ2Utc3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzR01Uc2RhJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/lib/page-types.js
+      var page_types = __webpack_require__(5003);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/app-render/encryption-utils.js
+      var encryption_utils = __webpack_require__(8591);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/dist/esm/server/app-render/action-utils.js
+      var action_utils = __webpack_require__(3290); // CONCATENATED MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/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":"eyJlbnYiOnt9LCJlc2xpbnQiOnsiaWdub3JlRHVyaW5nQnVpbGRzIjpmYWxzZX0sInR5cGVzY3JpcHQiOnsiaWdub3JlQnVpbGRFcnJvcnMiOmZhbHNlLCJ0c2NvbmZpZ1BhdGgiOiJ0c2NvbmZpZy5qc29uIn0sImRpc3REaXIiOiIubmV4dCIsImNsZWFuRGlzdERpciI6dHJ1ZSwiYXNzZXRQcmVmaXgiOiIiLCJjYWNoZU1heE1lbW9yeVNpemUiOjUyNDI4ODAwLCJjb25maWdPcmlnaW4iOiJuZXh0LmNvbmZpZy5qcyIsInVzZUZpbGVTeXN0ZW1QdWJsaWNSb3V0ZXMiOnRydWUsImdlbmVyYXRlRXRhZ3MiOnRydWUsInBhZ2VFeHRlbnNpb25zIjpbInRzeCIsInRzIiwianN4IiwianMiXSwicG93ZXJlZEJ5SGVhZGVyIjp0cnVlLCJjb21wcmVzcy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3NyJTJGcGFnZSZwYWdlPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZVBhdGg9cHJpdmF0ZS1uZXh0LWFwcC1kaXIlMkZhcHAtZWRnZS1zc3IlMkZwYWdlLmpzJmFwcERpcj0lMkZ0bXAlMkZuZXh0LXN0YXRzR01Uc2RhJTJGc3RhdHMtYXBwJTJGYXBwJmFwcFBhdGhzPSUyRmFwcC1lZGdlLXNzciUyRnBhZ2UmcGFnZUV4dGVuc2lvbnM9dHN4JnBhZ2VFeHRlbnNpb25zPXRzJnBhZ2VFeHRlbnNpb25zPWpzeCZwYWdlRXh0ZW5zaW9ucz1qcyZiYXNlUGF0aD0mYXNzZXRQcmVmaXg9Jm5leHRDb25maWdPdXRwdXQ9JmZseWluZ1NodXR0bGU9ZmFsc2UmcHJlZmVycmVkUmVnaW9uPSZtaWRkbGV3YXJlQ29uZmlnPWUzMCUzRCE=","sriEnabled":false,"middlewareConfig":"e30="}!
       var _self___RSC_MANIFEST;
 
       const incrementalCacheHandler = null;
@@ -432,50 +432,50 @@
       /***/
     },
 
-    /***/ 6796: /***/ (
+    /***/ 760: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8513)
+        __webpack_require__.bind(__webpack_require__, 1286)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2287)
+        __webpack_require__.bind(__webpack_require__, 9753)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 7120)
+        __webpack_require__.bind(__webpack_require__, 9589)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3521)
+        __webpack_require__.bind(__webpack_require__, 1120)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 3355)
+        __webpack_require__.bind(__webpack_require__, 469)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9156)
+        __webpack_require__.bind(__webpack_require__, 411)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 2962)
+        __webpack_require__.bind(__webpack_require__, 8550)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 8460)
+        __webpack_require__.bind(__webpack_require__, 7919)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 793)
+        __webpack_require__.bind(__webpack_require__, 249)
       );
       Promise.resolve(/* import() eager */).then(
-        __webpack_require__.bind(__webpack_require__, 9773)
+        __webpack_require__.bind(__webpack_require__, 9156)
       );
 
       /***/
     },
 
-    /***/ 4482: /***/ () => {
+    /***/ 1972: /***/ () => {
       /***/
     },
 
-    /***/ 7898: /***/ (
+    /***/ 7590: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -495,7 +495,7 @@
       /***/
     },
 
-    /***/ 3606: /***/ (
+    /***/ 442: /***/ (
       __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__(763);
+        __webpack_require__(4902);
 
       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, [862, 972], () => __webpack_exec__(4927));
+    /******/ __webpack_require__.O(0, [854, 47], () => __webpack_exec__(7085));
     /******/ 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],
   {
-    /***/ 8696: /***/ (
+    /***/ 2121: /***/ (
       __unused_webpack_module,
       __unused_webpack_exports,
       __webpack_require__
@@ -9,7 +9,7 @@
       (window.__NEXT_P = window.__NEXT_P || []).push([
         "/image",
         function () {
-          return __webpack_require__(4129);
+          return __webpack_require__(2990);
         },
       ]);
       if (false) {
@@ -18,7 +18,7 @@
       /***/
     },
 
-    /***/ 4979: /***/ (module, exports, __webpack_require__) => {
+    /***/ 2994: /***/ (module, exports, __webpack_require__) => {
       "use strict";
       /* __next_internal_client_entry_do_not_use__  cjs */
       Object.defineProperty(exports, "__esModule", {
@@ -40,17 +40,17 @@
         __webpack_require__(6663)
       );
       const _head = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(9845)
+        __webpack_require__(3411)
       );
-      const _getimgprops = __webpack_require__(5864);
-      const _imageconfig = __webpack_require__(947);
-      const _imageconfigcontextsharedruntime = __webpack_require__(5048);
-      const _warnonce = __webpack_require__(1022);
-      const _routercontextsharedruntime = __webpack_require__(8261);
+      const _getimgprops = __webpack_require__(7181);
+      const _imageconfig = __webpack_require__(7872);
+      const _imageconfigcontextsharedruntime = __webpack_require__(3853);
+      const _warnonce = __webpack_require__(4374);
+      const _routercontextsharedruntime = __webpack_require__(5198);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1914)
+        __webpack_require__(3470)
       );
-      const _usemergedref = __webpack_require__(7856);
+      const _usemergedref = __webpack_require__(6612);
       // This is replaced by webpack define plugin
       const configEnv = {
         deviceSizes: [640, 750, 828, 1080, 1200, 1920, 2048, 3840],
@@ -371,7 +371,7 @@
       /***/
     },
 
-    /***/ 7856: /***/ (module, exports, __webpack_require__) => {
+    /***/ 6612: /***/ (module, exports, __webpack_require__) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -440,7 +440,7 @@
       /***/
     },
 
-    /***/ 5864: /***/ (
+    /***/ 7181: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -456,9 +456,9 @@
           return getImgProps;
         },
       });
-      const _warnonce = __webpack_require__(1022);
-      const _imageblursvg = __webpack_require__(1009);
-      const _imageconfig = __webpack_require__(947);
+      const _warnonce = __webpack_require__(4374);
+      const _imageblursvg = __webpack_require__(3452);
+      const _imageconfig = __webpack_require__(7872);
       const VALID_LOADING_VALUES =
         /* unused pure expression or super */ null && [
           "lazy",
@@ -830,7 +830,7 @@
       /***/
     },
 
-    /***/ 1009: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3452: /***/ (__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 @@
       /***/
     },
 
-    /***/ 8900: /***/ (
+    /***/ 4150: /***/ (
       __unused_webpack_module,
       exports,
       __webpack_require__
@@ -912,10 +912,10 @@
         },
       });
       const _interop_require_default = __webpack_require__(9608);
-      const _getimgprops = __webpack_require__(5864);
-      const _imagecomponent = __webpack_require__(4979);
+      const _getimgprops = __webpack_require__(7181);
+      const _imagecomponent = __webpack_require__(2994);
       const _imageloader = /*#__PURE__*/ _interop_require_default._(
-        __webpack_require__(1914)
+        __webpack_require__(3470)
       );
       function getImageProps(imgProps) {
         const { props } = (0, _getimgprops.getImgProps)(imgProps, {
@@ -947,7 +947,7 @@
       /***/
     },
 
-    /***/ 1914: /***/ (__unused_webpack_module, exports) => {
+    /***/ 3470: /***/ (__unused_webpack_module, exports) => {
       "use strict";
 
       Object.defineProperty(exports, "__esModule", {
@@ -982,7 +982,7 @@
       /***/
     },
 
-    /***/ 4129: /***/ (
+    /***/ 2990: /***/ (
       __unused_webpack_module,
       __webpack_exports__,
       __webpack_require__
@@ -999,8 +999,8 @@
 
       // EXTERNAL MODULE: ./node_modules/.pnpm/react@19.0.0-rc-206df66e-20240912/node_modules/react/jsx-runtime.js
       var jsx_runtime = __webpack_require__(1143);
-      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+main-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_7unepphpsfbl5ofsayom3m6uma/node_modules/next/image.js
-      var next_image = __webpack_require__(5618);
+      // EXTERNAL MODULE: ./node_modules/.pnpm/next@file+..+diff-repo+packages+next+next-packed.tgz_react-dom@19.0.0-rc-206df66e-20240912_re_mm6spwxwvmn7da4aknn66l2fta/node_modules/next/image.js
+      var next_image = __webpack_require__(4243);
       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 @@
       /***/
     },
 
-    /***/ 5618: /***/ (
+    /***/ 4243: /***/ (
       module,
       __unused_webpack_exports,
       __webpack_require__
     ) => {
-      module.exports = __webpack_require__(8900);
+      module.exports = __webpack_require__(4150);
 
       /***/
     },
@@ -1045,7 +1045,7 @@
     /******/ var __webpack_exec__ = (moduleId) =>
       __webpack_require__((__webpack_require__.s = moduleId));
     /******/ __webpack_require__.O(0, [2888, 9774, 179], () =>
-      __webpack_exec__(8696)
+      __webpack_exec__(2121)
     );
     /******/ var __webpack_exports__ = __webpack_require__.O();
     /******/ _N_E = __webpack_exports__;
Commit: 571968d

@kdy1 kdy1 force-pushed the kdy1/pack-3215 branch 2 times, most recently from 8c45cdd to 347d0fd Compare August 29, 2024 04:46
@vercel vercel deleted a comment from ijjk Aug 29, 2024
@vercel vercel deleted a comment from ijjk Aug 29, 2024
@vercel vercel deleted a comment from ijjk Aug 30, 2024
@vercel vercel deleted a comment from ijjk Sep 1, 2024
@kdy1

This comment was marked as resolved.

@kdy1 kdy1 force-pushed the kdy1/pack-3215 branch 2 times, most recently from 7db4843 to fac25fc Compare September 2, 2024 23:41
@vercel vercel deleted a comment from ijjk Sep 3, 2024
@ijjk
Copy link
Member

ijjk commented Sep 3, 2024

Failing test suites

Commit: 571968d

pnpm test-dev test/e2e/app-dir/logging/fetch-logging.test.ts

  • app-dir - logging > with verbose logging for edge runtime > should not log requests for HMR refreshes
Expand output

● app-dir - logging › with verbose logging for edge runtime › should not log requests for HMR refreshes

expect(received).not.toInclude(expected)

Expected string to not include:
  " │ GET "
Received:
  " ✓ Compiled in 172ms (622 modules)
 GET /fetch-no-store 404 in 11ms
 GET /fetch-no-store 200 in 301ms
 │ GET https://next-data-api-endpoint.vercel.app/api/random?request-input 200 in 172ms (cache skip)
 │ │ Cache skipped reason: (cache: no-store)
"

  244 |                 const logs = stripAnsi(next.cliOutput.slice(outputIndex))
  245 |                 expect(logs).toInclude(' GET /fetch-no-store')
> 246 |                 expect(logs).not.toInclude(` │ GET `)
      |                                  ^
  247 |               })
  248 |           )
  249 |         })

  at toInclude (e2e/app-dir/logging/fetch-logging.test.ts:246:34)
  at retry (lib/next-test-utils.ts:806:14)
  at lib/next-modes/next-dev.ts:184:9
  at NextDevInstance.patchFile (lib/next-modes/base.ts:512:9)
  at Object.<anonymous> (e2e/app-dir/logging/fetch-logging.test.ts:237:11)

Read more about building and testing Next.js in contributing.md.

TURBOPACK=1 pnpm test-start test/e2e/app-dir/parallel-routes-catchall/parallel-routes-catchall.test.ts (turbopack)

  • parallel-routes-catchall > should match correctly when defining an explicit page but no slot
  • parallel-routes-catchall > should match both the catch-all page & slot
Expand output

● parallel-routes-catchall › should match correctly when defining an explicit page but no slot

TIMED OUT: /slot catchall/

@slot default

undefined

  718 |
  719 |   if (hardError) {
> 720 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  721 |   }
  722 |   return false
  723 | }

  at check (lib/next-test-utils.ts:720:11)
  at Object.<anonymous> (e2e/app-dir/parallel-routes-catchall/parallel-routes-catchall.test.ts:32:5)

● parallel-routes-catchall › should match both the catch-all page & slot

TIMED OUT: /main catchall/

Go to /foo (page & slot)
Go to /bar (page & no slot)
Go to /baz (no page & slot)
Go to /quux (no page & no slot)

undefined

  718 |
  719 |   if (hardError) {
> 720 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  721 |   }
  722 |   return false
  723 | }

  at check (lib/next-test-utils.ts:720:11)
  at Object.<anonymous> (e2e/app-dir/parallel-routes-catchall/parallel-routes-catchall.test.ts:58:5)

Read more about building and testing Next.js in contributing.md.

TURBOPACK=1 pnpm test-start test/e2e/app-dir/rsc-basic/rsc-basic.test.ts (turbopack)

  • app dir - rsc basics > should render initial styles of css-in-js in nodejs SSR correctly
  • app dir - rsc basics > should render initial styles of css-in-js in edge SSR correctly
  • app dir - rsc basics > should render css-in-js suspense boundary correctly
Expand output

● app dir - rsc basics › should render initial styles of css-in-js in nodejs SSR correctly

expect(received).toMatch(expected)

Expected pattern: /{color:(\s*)(?:blue|#00f);?}/
Received string:  "<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><link rel=\"preload\" as=\"script\" fetchpriority=\"low\" href=\"/_next/static/chunks/node_modules__pnpm_d631bf._.js\"><script src=\"/_next/static/chunks/_9e64f5._.js\" async></script><script src=\"/_next/static/chunks/f2872_styled-components_dist_styled-components_browser_esm_baa9bf.js\" async></script><script src=\"/_next/static/chunks/d1949_stylis_144b6e._.js\" async></script><script src=\"/_next/static/chunks/node_modules__pnpm_2008c7._.js\" async></script><script src=\"/_next/static/chunks/app_cd6b63._.js\" async></script><meta name=\"robots\" content=\"noindex\"><script src=\"/_next/static/chunks/a60e4_next_dist_build_polyfills_polyfill-nomodule.js\" nomodule></script><style id=\"__jsx-334e8b55724eb80d\">h3.jsx-334e8b55724eb80d{color:purple}.box.jsx-334e8b55724eb80d{border:2px solid purple;padding:8px}</style><style id=\"__jsx-c70f73179e748994\">button.jsx-c70f73179e748994{color:#ff69b4}</style>"

  361 |
  362 |     // from styled-components
> 363 |     expect(head).toMatch(/{color:(\s*)(?:blue|#00f);?}/)
      |                  ^
  364 |   })
  365 |
  366 |   it('should render initial styles of css-in-js in edge SSR correctly', async () => {

  at Object.toMatch (e2e/app-dir/rsc-basic/rsc-basic.test.ts:363:18)

● app dir - rsc basics › should render initial styles of css-in-js in edge SSR correctly

expect(received).toMatch(expected)

Expected pattern: /{color:(\s*)(?:blue|#00f);?}/
Received string:  "<meta charset=\"utf-8\"><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"><link rel=\"preload\" as=\"script\" fetchpriority=\"low\" href=\"/_next/static/chunks/node_modules__pnpm_d631bf._.js\"><script src=\"/_next/static/chunks/_9e64f5._.js\" async></script><script src=\"/_next/static/chunks/f2872_styled-components_dist_styled-components_browser_esm_baa9bf.js\" async></script><script src=\"/_next/static/chunks/d1949_stylis_144b6e._.js\" async></script><script src=\"/_next/static/chunks/node_modules__pnpm_2008c7._.js\" async></script><script src=\"/_next/static/chunks/app_cd6b63._.js\" async></script><meta name=\"robots\" content=\"noindex\"><script src=\"/_next/static/chunks/a60e4_next_dist_build_polyfills_polyfill-nomodule.js\" nomodule></script><style id=\"__jsx-334e8b55724eb80d\">h3.jsx-334e8b55724eb80d{color:purple}.box.jsx-334e8b55724eb80d{border:2px solid purple;padding:8px}</style><style id=\"__jsx-c70f73179e748994\">button.jsx-c70f73179e748994{color:#ff69b4}</style>"

  373 |
  374 |     // from styled-components
> 375 |     expect(head).toMatch(/{color:(\s*)(?:blue|#00f);?}/)
      |                  ^
  376 |   })
  377 |
  378 |   it('should render css-in-js suspense boundary correctly', async () => {

  at Object.toMatch (e2e/app-dir/rsc-basic/rsc-basic.test.ts:375:18)

● app dir - rsc basics › should render css-in-js suspense boundary correctly

expect(received).toEqual(expected) // deep equality

- Expected  - 5
+ Received  + 1

- Array [
-   "fallback",
-   "data",
-   "refresh-script",
- ]
+ Array []

  393 |       })
  394 |
> 395 |       expect(results).toEqual(['fallback', 'data', 'refresh-script'])
      |                       ^
  396 |     })
  397 |     // // TODO-APP: fix streaming/suspense within browser for test suite
  398 |     // const browser = await next.browser( '/css-in-js', { waitHydration: false })

  at toEqual (e2e/app-dir/rsc-basic/rsc-basic.test.ts:395:23)
  at Object.<anonymous> (e2e/app-dir/rsc-basic/rsc-basic.test.ts:379:5)

Read more about building and testing Next.js in contributing.md.

TURBOPACK=1 pnpm test-start test/e2e/socket-io/index.test.js (turbopack)

  • socket-io > should support socket.io without falling back to polling
Expand output

● socket-io › should support socket.io without falling back to polling

TIMED OUT: /hello world/



undefined

  718 |
  719 |   if (hardError) {
> 720 |     throw new Error('TIMED OUT: ' + regex + '\n\n' + content + '\n\n' + lastErr)
      |           ^
  721 |   }
  722 |   return false
  723 | }

  at check (lib/next-test-utils.ts:720:11)
  at Object.<anonymous> (e2e/socket-io/index.test.js:31:5)

Read more about building and testing Next.js in contributing.md.

@vercel vercel deleted a comment from ijjk Sep 3, 2024
@kdy1

This comment was marked as resolved.

@kdy1 kdy1 force-pushed the kdy1/pack-3215 branch 2 times, most recently from 97e26d6 to df6ff9e Compare September 3, 2024 05:45
@kdy1 kdy1 changed the title feat(turbopack): Apply tree shaking before server action transform feat(turbopack): Apply tree shaking to all user codes Sep 3, 2024
@kdy1

This comment was marked as resolved.

@kdy1

This comment was marked as resolved.

kdy1 added a commit that referenced this pull request Sep 13, 2024
…#70014)

### What?

Fix usages of `SyntaxContext` in server actions transform.

### Why?

This is part of [the tree-shaking PR](#69344).

### How?
@kdy1
Copy link
Member Author

kdy1 commented Sep 15, 2024

Closing in favor of #70114

@kdy1 kdy1 closed this Sep 15, 2024
kdy1 added a commit that referenced this pull request Sep 16, 2024
…0016)

### What?

`EcmascriptModulePartAsset` is invalid if the splitting is failed. We now carefully create it only when the original module is splittable.

### Why?

This is part of [the tree-shaking PR](#69344).
kdy1 added a commit that referenced this pull request Sep 16, 2024
### What?

Improve the graph analyzer of the tree-shaking pass. This PR does **not** server-action specific changes for tree shaking.

### Why?

This is part of [the tree-shaking PR](#69344).

### How?
kdy1 added a commit that referenced this pull request Sep 19, 2024
### What?

 - Supersedes #69344.
 - Enable tree shaking for production builds


### Why?

The history of #69344 is too messy

### How?

Closes PACK-3215
@kdy1 kdy1 deleted the kdy1/pack-3215 branch September 25, 2024 03:41
@github-actions github-actions bot added the locked label Oct 9, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Turbopack team PRs by the Turbopack team. Font (next/font) Related to Next.js Font Optimization. locked tests Turbopack Related to Turbopack with Next.js.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants