mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
Should be able to resolve `exports.import` condition for esm packages only when import them in server components Fixes: #42534 ## Bug - [x] Related issues linked using `fixes #number` - [x] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md`
10 lines
131 B
JavaScript
10 lines
131 B
JavaScript
import { name } from 'pure-esm-module'
|
|
|
|
export default function Page() {
|
|
return (
|
|
<div>
|
|
<p>{name}</p>
|
|
</div>
|
|
)
|
|
}
|