Skip to content

Commit 99de057

Browse files
authored
Revert server action optimization (#69925)
1 parent 24647b9 commit 99de057

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+25
-987
lines changed

packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts

+24-187
Large diffs are not rendered by default.

packages/next/src/server/config-shared.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ export const defaultConfig: NextConfig = {
939939
: false,
940940
webpackBuildWorker: undefined,
941941
missingSuspenseWithCSRBailout: true,
942-
optimizeServerReact: false,
942+
optimizeServerReact: true,
943943
useEarlyImport: false,
944944
staleTimes: {
945945
dynamic: 30,

test/production/app-dir/actions-tree-shaking/_testing/utils.ts

-79
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/app/actions.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/app/client/page.js

-21
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/app/inline/page.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/app/layout.js

-7
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/app/server/page.js

-10
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/basic-edge.test.ts

-3
This file was deleted.

test/production/app-dir/actions-tree-shaking/basic/basic.test.ts

-33
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/app/layout.js

-7
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/app/mixed-module/cjs/actions.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/app/mixed-module/cjs/page.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/app/mixed-module/esm/actions.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/app/mixed-module/esm/page.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/mixed-module-actions-edge.test.ts

-3
This file was deleted.

test/production/app-dir/actions-tree-shaking/mixed-module-actions/mixed-module-actions.test.ts

-29
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/layout.js

-7
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/client/actions.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/client/page.js

-21
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/client/reexport-action.js

-5
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/server/actions.js

-13
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/server/page.js

-12
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/named-reexport/server/reexport-action.js

-5
This file was deleted.

test/production/app-dir/actions-tree-shaking/reexport/app/namespace-reexport/client/actions.js

-13
This file was deleted.

0 commit comments

Comments
 (0)