Change the index file format to use "export ... from" (fixes #3)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import _ from 'lodash';
|
||||
|
||||
export default (paths) => {
|
||||
return _.sortBy(paths, (path) => {
|
||||
return -path.split('/').length;
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user