I'm trying to register logger serializers for Fastify inside astro.config.mjs and they work in dev mode, but when I run astro build, the resulting dist/server/entry.mjs does not have the serializers configured inside it.
I tried to create a minimal example here: https://github.com/luiz/astro-fastify-logger-serializer
I'm trying to register logger serializers for Fastify inside
astro.config.mjsand they work in dev mode, but when I runastro build, the resultingdist/server/entry.mjsdoes not have the serializers configured inside it.I tried to create a minimal example here: https://github.com/luiz/astro-fastify-logger-serializer