blitz-js / blitz-js/babel-plugin-superjson-next
Shared SSR/SSG hooks are not transformed
Open
- Dominant language
- TypeScript
- Stars
- 124
- Forks
- 15
- PR merge metrics
- No merged PRs in 30d
Description
When writing `getStaticProps` outside of a page file, the superjson code is never injected. For example:
```ts
// props.ts
export const getStaticProps: GetStaticProps = async ctx => {
// ...
}
// pages/page.tsx
export {getStaticProps} from '../props';
export default function Page() {
// ...
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.