moleculerjs / moleculer-cli

:herb: Command line tool for Moleculer
http://moleculer.services/docs/moleculer-cli.html
MIT License
49 stars 28 forks source link

Support export default syntax in typescript for loaded files #55

Closed bbmarkus closed 2 years ago

bbmarkus commented 2 years ago

I noticed that moleculer-runner already has equivalent code to allow this, this patch simply applies same functionality to --commands and --config options.

It turns out I really dislike the export = syntax in typescript 🙂

Inspired by this: https://github.com/moleculerjs/moleculer-repl/issues/60