mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
The `--no-mangling` CLI option for `next build` was originally introduced in #42633. However, we lost this feature during our migration from Terser to SWC. As part of broader improvements for debugging dynamic accesses with Dynamic I/O enabled, I needed this functionality back, so I restored it for Webpack and also added it to Turbopack. fixes #67037 fixes #50208 --------- Co-authored-by: Benjamin Woodruff <[email protected]>
9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
import { ReactNode } from 'react'
|
|
export default function Root({ children }: { children: ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|