Dev dependencies in custom modules

Can we define dev dependencies in Server connect modules?

"usedModules": {
      "node": {
        "pino": "^7.5.1"

I would like to add pino-pretty as well, but only as a dev dependency.
I installed it locally as a dev dependency, but if I add it to modules and share it with the community, then it would be installed for production as well.

Not as far as I know. They still have to refactor SC extensibility distribution so it’s done in the same way as AC extensibility.

1 Like