mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
If an ESM module only includes a `'use client'` directive and no exports, which is the case for one of the modules that are included in `@chakra-ui/system` for example, we must not try to add `registerClientReference` statements for this module. This is a regression from #71968. fixes #72358 closes #72359
6 lines
77 B
TypeScript
6 lines
77 B
TypeScript
import 'lib'
|
|
|
|
export default function Page() {
|
|
return <p>hello world</p>
|
|
}
|