fastify-cli icon indicating copy to clipboard operation
fastify-cli copied to clipboard

Support ESM logging-module

Open segevfiner opened this issue 1 year ago • 1 comments

Prerequisites

  • [X] I have written a descriptive issue title
  • [X] I have searched existing issues to ensure the feature has not already been requested

🚀 Feature Proposal

Currently the logging-module imported when using -L/--logging-module flag to start is imported using require, which is annoying in an otherwise ESM only project. It should support using import the same as used for the main plugin as well.

Motivation

Using a logging-module that is ESM, in a project that is also otherwise ESM only.

Example

No response

segevfiner avatar Sep 09 '24 21:09 segevfiner