Closed sawyerh closed 5 months ago
This fixes usage of the package in a React Server Components environment (Next.js app router). This regression was introduced during the Webpack -> Vite migration.
npx create-next-app@latest
@all-contributors please add @sawyerh for bug
@brandonlenz
I've put up a pull request to add @sawyerh! :tada:
Summary
This fixes usage of the package in a React Server Components environment (Next.js app router). This regression was introduced during the Webpack -> Vite migration.
How To Test
npx create-next-app@latest
- select Yes for App Router when you get thereScreenshots
Before
After