Change the index file format to use "export ... from" (fixes #3)

This commit is contained in:
Gajus Kuizinas
2016-01-29 09:40:35 +00:00
parent 832044c9fd
commit 69825b59c6
14 changed files with 35 additions and 68 deletions
+7
View File
@@ -0,0 +1,7 @@
import _ from 'lodash';
export default (paths) => {
return _.sortBy(paths, (path) => {
return -path.split('/').length;
});
};