You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jeremytenjo
changed the title
[bug] SWC introduction in v0.11.0 increases bundle size and leads to Nextjs API functions deploys failures.
[bug] SWC introduction in v0.11.0 increases bundle size and leads to Nextjs API functions deployment failures.
Jun 29, 2023
SWC is only used for transforming tsx, js, ts, jsx files in a storybook project. Why it is related to your next.js app? Is your next.js app bundling @storybook/test-runner?
Deploying Nextjs apps that contain API routes fail because SWC package sizes are big.
The following error occurs when deploying the Nextjs app.
Leads to
Additional context
I had to downgrade to v0.10.0.
This issue shows the broader effects of SWC in Nextjs apps.
vercel/next.js#42641
Thanks! :)
The text was updated successfully, but these errors were encountered: