Files
next.js/test/e2e/app-dir/webpack-loader-conditions/app/layout.tsx
Tobias KoppersandGitHub 43d911406b add conditions for webpack loader rules (#63333)
### 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
2024-03-16 21:02:10 +01:00

8 lines
146 B
TypeScript

export default function Root({ children }: { children: React.ReactNode }) {
return (
<html>
<body>{children}</body>
</html>
)
}