rsnext/packages
Shu Ding 46981388aa
Fix bundling of Server Actions (#51367)
There're 3 layers in the RSC module graph: server → client → action. "Action" means that a Client Component re-enters the server layer by importing a file with `"use server"`, and it should behave the same as the server layer but you can't enter the client layer again (hence we have a 3rd layer name).

Since the action layer has the same behavior and module resolution rules, it should be bundled just like the server layer.

Closes #50658. Originally the issue was that `auth/next` isn't being bundled on the action layer, and it has the async local storage imported. Because of that, that storage comes from node_modules instead of the server bundle.
fix NEXT-1290
2023-06-16 13:47:48 +00:00
..
create-next-app v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
eslint-config-next v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
eslint-plugin-next v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
font v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next Fix bundling of Server Actions (#51367) 2023-06-16 13:47:48 +00:00
next-bundle-analyzer v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-codemod v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-env v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-mdx v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-plugin-storybook v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-polyfill-module v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-polyfill-nomodule v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
next-swc v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
react-dev-overlay v13.4.7-canary.0 2023-06-16 01:02:52 +00:00
react-refresh-utils v13.4.7-canary.0 2023-06-16 01:02:52 +00:00