mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
### What? * Allow to apply webpack loaders depending on "conditions". * add a few next specific conditions depending on context type ### Why? Some loaders need different behavior depending on context ### How? Closes PACK-2748
8 lines
146 B
TypeScript
8 lines
146 B
TypeScript
export default function Root({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|