magicast
magicast copied to clipboard
Support exported functions
Describe the feature
It would be great if parseModule would also find exported functions. For example:
export function foo() {
}
It currently exports exported constants, or the output of a function as the default. But it doesn't cover exported functions.
I personally don't require symmetric support on the generateCode side, which I get could be very challenging.
Additional information
- [ ] Would you be willing to help implement this feature?
@jherr heya, found myself needing the same thing, did you manage to find a solution?
TBH, I don't even remember what this project is or what I was using it for, so, no.
Would be really nice to get the exported functions