mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 11:15:53 +03: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
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if (packageJson['matrix-react-parent']) {
|
||||||
strm.write("module.exports.components = {};\n");
|
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) {
|
for (var i = 0; i < files.length; ++i) {
|
||||||
var file = files[i].replace('.js', '');
|
var file = files[i].replace('.js', '');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue