zaaack / foy

A simple, light-weight, type-friendly and modern task runner for general purpose.
http://zaaack.github.io/foy
MIT License
260 stars 14 forks source link

fix: esm modules #20

Closed zaaack closed 9 months ago

zaaack commented 10 months ago

fix: https://github.com/zaaack/foy/issues/18

@arimgibson I'm not sure this can fix your issues, but I guess it should work, please review, thanks. By the way, you can set your custom typescript registers by add alias foy=foy -r 'ts-node/register' in your .zshrc/.bashrc file, this will override the built-in ts-node register.

arimgibson commented 10 months ago

I'll take a look, thanks @zaaack !!