-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Since v3.2.0: ReferenceError: CSS is not defined #9598
Comments
Please add a reproduction in order for us to be able to investigate. Depending on the quality of reproduction steps, this issue may be closed if no reproduction is provided. Why was this issue marked with the
|
Fixed! Here's a canary with the fix if you don't wanna wait for the next release: |
Awesome, thanks! Really happy with the performance improvements in 3.2, they make a huge difference :) |
🚀 This is included in version v3.2.2 |
This issue has been automatically locked. |
Describe the Bug
v3.2.0 seems to have introduced some error that surfaces on production builds.
Versions prior that version don't have that issue.
While the admin panel seems to work properly, the document is returned with a Status 500 and the server throws:
I also tried switching between nextjs 15 minor versions and react 19 rc versions, made no difference.
I suspect that some code meant for the client gets bundled server side.
Link to the code that reproduces this issue
pnpm dlx create-payload-app
Reproduction Steps
pnpm dlx create-payload-app
pnpm build
pnpm start
Which area(s) are affected? (Select all that apply)
area: core
Environment Info
The text was updated successfully, but these errors were encountered: