mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Follow up of #61986 where we didn't handle the subpath externals very well, found by @sokra Closes NEXT-2517
12 lines
244 B
TypeScript
12 lines
244 B
TypeScript
import { dir } from 'external-package'
|
|
import { dir as subDir } from 'external-package/subpath'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<>
|
|
<div id="directory">{dir}</div>
|
|
<div id="subdirectory">{subDir}</div>
|
|
</>
|
|
)
|
|
}
|