mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
1b1cb3eece
Adds a `compiler.define` option to next.config.js to statically replace any variables during build-time for Turbopack. This is similar to Webpack's `DefinePlugin`. Relates to: https://github.com/vercel/next.js/discussions/71476 --------- Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
8 lines
146 B
TypeScript
8 lines
146 B
TypeScript
export default function Root({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|