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
Create-index is pretty dumb actually, it would try to include a file as default only if it exists and validates some naming convention. It may eventually import as default a file without default.
The text was updated successfully, but these errors were encountered:
I don't think this is "dumb". Project directory structure is "dumb" if index.js is used with create-index in a directory that includes files without export default.
In the above case, it would be an enhancement to throw an error. In combination with the proposed ignore configuration, it would cover all use case.
Create-index is pretty dumb actually, it would try to include a file as default only if it exists and validates some naming convention. It may eventually import as default a file without default.
The text was updated successfully, but these errors were encountered: