Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
getPayload
generate import map only when used in Payload Admin…
… Panel (#9371) After the change with removing `getPayloadHMR`, we do generate import map even outside of Next.js, which leads to errors when using in a project without it: ![image](https://github.com/user-attachments/assets/e8dc2af6-566b-443c-a6d8-8b02e719bd30)
- Loading branch information