Open
Description
When writing getStaticProps
outside of a page file, the superjson code is never injected. For example:
// props.ts
export const getStaticProps: GetStaticProps<Props> = async ctx => {
// ...
}
// pages/page.tsx
export {getStaticProps} from '../props';
export default function Page() {
// ...
}
Metadata
Metadata
Assignees
Labels
No labels