Nextjs Gotcha: CF Functions are NOT AVAILABLE during next build

Note, if you plan to use getStaticProps or getStaticPaths and use /functions to query your API for content during the build process, it won’t work.

Your functions will NOT AVAILABLE until after the build.

So it seems the only way to use an API for querying static content during build is via a separated 3rd party API or a separate workers api.

Please correct me if I am wrong!