Repository navigation
v3.0.0
This release adds support for having several index files, useful in full-stack frameworks that shouldn't mix client and server imports.
Changed
- The
isIndexfunction now recognizes dot-separated strings likeindex.client.jsas valid index files, as long as the part until the first dot isindex.
Added
- The
getIndexesfunction, similar to the previously existinggetIndex, but now returningArray<File>instead ofFile | undefined
Removed
- The
getIndexfunction, that would either return a single index file orundefinedhas been removed in favor ofgetIndexes