Functions exported as default not picked up
Open
question
- Dominant language
- JavaScript
- Stars
- 277
- Forks
- 86
- PR merge metrics
- No merged PRs in 30d
Description
First off, thanks for super useful cli. Have been needing this myself for so long I was about to make it, then bumped into this!
The issue I am having is that exporting a function as default does not appear in created `index.js`. However `async` functions and object exports work as expected:
```js
export default { someThing, someOtherThing } // WORKS => export { default as things }
export default async function someFunc() {} // WORKS => export { default as someFunc }
export default function someOtherFunc() {} // DOES NOT WORK => (no output)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.