-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
should go through all the fields in the order defined and look for:
- exact match
file.path === path - extensionless match
file.path.replace(/\.\w+$/, '') === path - folder-index match
file.path.replace(/\/index\.\w+$/, '') === path
making it extension-agnostic unlike node's ['', '.js', '.json', '/index.js'] lookup, which this builder currently does