mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
## What?
Allows e.g. ```import(`${url}`)``` when in node_modules. This makes
monaco-editor work automatically when it's correctly imported in e.g. a
`useEffect`.
- [x] Apply change
- [x] Verify against local reproduction
- [x] Add test case
Fixes #72613
Fixes PACK-4602
12 lines
231 B
TypeScript
12 lines
231 B
TypeScript
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode
|
|
}>) {
|
|
return (
|
|
<html lang="en" className="w-full h-full">
|
|
<body className={`w-full h-full`}>{children}</body>
|
|
</html>
|
|
)
|
|
}
|