fastify / fastify-cli

Run a Fastify application with one command!
MIT License
657 stars 163 forks source link

fix: require doesn't work in esm projects #698

Closed mhamann closed 8 months ago

mhamann commented 8 months ago

Checklist

Fixes https://github.com/fastify/fastify-cli/issues/678

mhamann commented 8 months ago

@mcollina Apologies for the delay. Unit test added. I confirmed that the added test fails with the previous requireModule() code.

mhamann commented 8 months ago

Thanks @mcollina! When do you think this might make it into a release?

mcollina commented 8 months ago

shipped yesterda