mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
Sort the files in component-index
Fixes https://github.com/vector-im/vector-web/issues/1352
This commit is contained in:
parent
37365728cb
commit
267bf10e69
@ -37,7 +37,7 @@ if (packageJson['matrix-react-parent']) {
|
||||
strm.write("module.exports.components = {};\n");
|
||||
}
|
||||
|
||||
var files = glob.sync('**/*.js', {cwd: componentsDir});
|
||||
var files = glob.sync('**/*.js', {cwd: componentsDir}).sort();
|
||||
for (var i = 0; i < files.length; ++i) {
|
||||
var file = files[i].replace('.js', '');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user