mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? switch turbopack to use a single client components entrypoint for all client components on a page for development. This aligns it with the webpack behavior. ### Why? compiling a separate entrypoint for every client component is pretty expensive in regards of compilation, chunking, code generation, file writing and number of requests. ### Turbopack Changes * https://github.com/vercel/turbo/pull/6713 <!-- Tobias Koppers - use real emojis --> * https://github.com/vercel/turbo/pull/6728 <!-- Tobias Koppers - fix order of reverse topologic iteration --> Closes PACK-2115
12 lines
183 B
JavaScript
12 lines
183 B
JavaScript
import './index.css'
|
|
import InputText from './layout-input'
|
|
|
|
export default function Layout({ children }) {
|
|
return (
|
|
<div>
|
|
{children}
|
|
<InputText />
|
|
</div>
|
|
)
|
|
}
|