Replies: 1 comment 1 reply
-
Hi. Can you please share a runnable repo or reproduction? 🙏🏼 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
I want to use pino in my nitro app, however when building the app, only the used modules are packaged to the
.output
dir.However, pino transport are declared by a string :
So you can see why this won't work with nitro : when running pnpm run build, the package
pino-pretty
is absent, and the server can't start (it crashes).Do you see a config/workaround to make nuxt include this package to the
.output/server/node_modules/
folder ?Thanks by advance
Beta Was this translation helpful? Give feedback.
All reactions