Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

server deps in browser build

default discord avatar
tivvis1222 years ago
4

Hello and thanks for your work, Payload is GREAT!



I get some strange error. When we inside collection custom UI components and some nodejs libs like @hapi/iron used in custom routes or acces rules then this server-only deps bundled inside browser too and break front-end and console full of errors like Buffer is undefined... Maybe someone already encountered this type of errors and have a solution?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.