mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
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 <[email protected]>
8 lines
146 B
TypeScript
8 lines
146 B
TypeScript
export default function Root({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|