mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
## Summary Fix dead-code elimination in `packages/next/cache.js` to prevent server-only internals from being pulled into browser bundles. Restructures the conditional exports so bundlers can properly tree-shake server paths. ## Test plan - [ ] `pnpm --filter=next build` succeeds - [ ] No runtime behavior changes --------- Co-authored-by: Tim Neutkens <[email protected]>
11 lines
164 B
TypeScript
11 lines
164 B
TypeScript
import { CacheClient } from './cache-client'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p>hello world</p>
|
|
<CacheClient />
|
|
</div>
|
|
)
|
|
}
|