Actually, it's possible to define devHandler in the configuration file but it uses a direct defineEventHandler. This behavior differs from 'handler` and makes it really complicated to use within a module or from a larger config files likes the Nuxt one.
Do you think it could be possible to define a devHandler using a simple string that refer to an file?
Additional information
[ ] Would you be willing to help implement this feature?
Describe the feature
Hello,
Actually, it's possible to define
devHandler
in the configuration file but it uses a directdefineEventHandler
. This behavior differs from 'handler` and makes it really complicated to use within a module or from a larger config files likes the Nuxt one.Do you think it could be possible to define a
devHandler
using a simple string that refer to an file?Additional information