wd-David/esbuild-plugin-pino

esbuild 0.16.7 needs another release of this plugin

Closed this issue · 5 comments

Its me again :)

0.16.6 still worked. Seems the API changed again.

image

image

Btw, I saw the last issue of this kind mentioned here: evanw/esbuild#2544

Interesting, I am starting to pin Esbuilds version now (which I normally try to avoid).

@gunters63 I agree with the author of esbuild. I'm ok with that.

@davipon: Thank you for the update.

Your plugin is very helpful for an embedded application I develop (graphql-helix, envelop, fastify, prisma).
I couldn't have switched so easily from express to fastify without it :)

@gunters63 Appreciate your kind words! It made my day.

Interestingly, I once saw Matteo (author of pino and fastify) talk about bundling and logging in production, and he doesn't recommend doing so. (Sorry, I couldn't find the source.)

This plugin enables both 😅, but it did solve use cases like deploying a tiny app as a serverless/ edge function, which is hard if you don't bundle. Besides, pino does have an outstanding performance with less overhead. It works perfectly in production, at least in my experience.

@davipon : Our application runs on a arm-based industrial controller from a SD card. No way we want to install a node_modules folder there 😄

image