Make sure namespaces are populated after they were created
This commit is contained in:
@@ -103,7 +103,7 @@ function generateExports(symbols, namespaces, imports) {
|
||||
nsdefs.push(`${ns[i]} = {};`);
|
||||
}
|
||||
}
|
||||
blocks = imports.concat(nsdefs).concat(blocks);
|
||||
blocks = imports.concat(nsdefs.sort()).concat(blocks.sort());
|
||||
blocks.push('');
|
||||
return blocks.join('\n');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user