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

Lines changed: 24 additions & 187 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 0 additions & 79 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 21 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 10 deletions
This file was deleted.

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

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 0 additions & 33 deletions
This file was deleted.

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 3 deletions
This file was deleted.

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

Lines changed: 0 additions & 29 deletions
This file was deleted.

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

Lines changed: 0 additions & 7 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 21 deletions
This file was deleted.

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

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

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

Lines changed: 0 additions & 12 deletions
This file was deleted.

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

Lines changed: 0 additions & 5 deletions
This file was deleted.

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

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)