Open
Description
Describe the issue you're facing
My team is facing an issue where storyblok SDK
is blocking the static export of our application with message Server Actions are not supported with static export
. I tried to downgrade the storyblok/react
package to version 3.0.10
and it solved the issue. Can we opt out of using server actions
with the latest package?
Edit:
I found out that StoryblokStory
was using server actions
under the hood, I replaced it with StoryblokServerComponent
but build is still failing. Is tree-shaking
not working with the package?

Reproduction
NA
Steps to reproduce
- Add to
{ "output": "export" }
tonext.config.js
- Use SDK somewhere in code
- Build next app
System Info
"@storyblok/react": "^4.0.0"
"next": "14.12.16"
"react": "18.3.1"
Used Package Manager
pnpm
Error logs (Optional)
No response
Validations
- Follow our Code of Conduct