fix es export { } syntax

This commit is contained in:
Seth Trowbridge 2023-10-15 08:52:35 -04:00
parent 9e7fe002b0
commit 9433c15bd9

View File

@ -65,7 +65,7 @@ const findNextExport =(inFile:string, inIndex=0, inLocal:Array<string>, inForeig
} }
else else
{ {
const members = inFile.substring(nextCharInd+1, endBracketInd); const members = inFile.substring(nextCharInd+1, endBracketInd).replace(/\s/g, '');
members.split(",").forEach(part=> members.split(",").forEach(part=>
{ {
const renamed = part.split(" as "); const renamed = part.split(" as ");