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
13 lines
192 B
JavaScript
13 lines
192 B
JavaScript
import './page-index.css'
|
|
import InputText from './input'
|
|
|
|
export default function Home() {
|
|
return (
|
|
<div>
|
|
<h1>Hello</h1>
|
|
<h2>Hello</h2>
|
|
<InputText />
|
|
</div>
|
|
)
|
|
}
|