mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Add test that we can log the error trace when we found invalid dynamic usage when `dynamic = "error"`  Closes NEXT-2402 Closes NEXT-2383
7 lines
112 B
JavaScript
7 lines
112 B
JavaScript
import { Foo } from './lib'
|
|
export default function Page() {
|
|
return <Foo />
|
|
}
|
|
|
|
export const dynamic = 'error'
|