--exportDefault generates default exports eventhough there are none
simpel opened this issue · comments
Describe the bug
When turning on --exportDefault it returns a default export for all files even if the file itself has no default export. This is a issue since only some of my files has default exports.
To Reproduce
Steps to reproduce the behavior:
- create a project
- Create some files and mix default exports and non defaults
- run barrelsby with --exportDefault
- All files in the index file gets a default export eventhough some does not have it
Expected behavior
only export default exports when they're available
No activity has been seen recently, marking as stale. If this is a mistake please reach out to a collaborator
I also have this. Any updates?