Skip to content

Commit

Permalink
Add unstable_getServerSideProps also
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Feb 27, 2020
1 parent 5f912d3 commit 3eb91b9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/build/babel/plugins/next-ssg-transform.ts
Expand Up @@ -22,6 +22,7 @@ const ssgExports = new Set([
`unstable_getStaticProps`,
`unstable_getStaticPaths`,
`unstable_getServerProps`,
`unstable_getServerSideProps`,
])

type PluginState = {
Expand Down

0 comments on commit 3eb91b9

Please sign in to comment.