Files
Jiachi LiuandGitHub cbdd1d2654 Fix handling subpath for server components externals (#62150)
Follow up of #61986 where we didn't handle the subpath externals very
well, found by @sokra

Closes NEXT-2517
2024-02-16 17:24:12 +01:00

14 lines
266 B
TypeScript

'use client'
import { dir } from 'external-package'
import { dir as subDir } from 'external-package/subpath'
export default function Page() {
return (
<>
<div id="directory-ssr">{dir}</div>
<div id="subdirectory-ssr">{subDir}</div>
</>
)
}