Files
Ngô Đức AnhandGitHub 98cc99df46 fix(standalone): fixed output: "standalone" crashing build when there is no app/ page (#51993)
### 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
2023-07-10 08:40:02 +00:00

9 lines
135 B
JavaScript

export default function Root({ children }) {
return (
<html>
<head></head>
<body>{children}</body>
</html>
)
}