You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
exportdefault{ someThing, someOtherThing }// WORKS => export { default as things }exportdefaultasyncfunctionsomeFunc(){}// WORKS => export { default as someFunc }exportdefaultfunctionsomeOtherFunc(){}// DOES NOT WORK => (no output)
The text was updated successfully, but these errors were encountered:
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
. Howeverasync
functions and object exports work as expected:The text was updated successfully, but these errors were encountered: