mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
### What? This PR fixes build crashing when `output: 'standalone'` and `experimental.appDir` is enabled but there is no app pages. ### How? It does that by checking whether `.next/server/app` exists before copying the folder to `.next/standalone/...` Closes #51828 Fixes #44442 Fixes #44120
9 lines
135 B
JavaScript
9 lines
135 B
JavaScript
export default function Root({ children }) {
|
|
return (
|
|
<html>
|
|
<head></head>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|