Unverified Commit 733c5705 authored by Will Binns-Smith's avatar Will Binns-Smith Committed by GitHub

Turbopack: write `.next/turbopack` to mark Turbopack builds (#77949)

parent c640c57a
......@@ -88,6 +88,9 @@ export async function turbopackBuild(): Promise<{
}
)
// Write an empty file in a known location to signal this was built with Turbopack
await fs.writeFile(path.join(distDir, 'turbopack'), '')
await fs.mkdir(path.join(distDir, 'server'), { recursive: true })
await fs.mkdir(path.join(distDir, 'static', buildId), {
recursive: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment