From 9433c15bd99e5a67d6d137b49da7311b7610777f Mon Sep 17 00:00:00 2001 From: Seth Trowbridge Date: Sun, 15 Oct 2023 08:52:35 -0400 Subject: [PATCH] fix es export { } syntax --- hmr-static.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmr-static.tsx b/hmr-static.tsx index 7c6dcef..7c72d67 100644 --- a/hmr-static.tsx +++ b/hmr-static.tsx @@ -65,7 +65,7 @@ const findNextExport =(inFile:string, inIndex=0, inLocal:Array, inForeig } else { - const members = inFile.substring(nextCharInd+1, endBracketInd); + const members = inFile.substring(nextCharInd+1, endBracketInd).replace(/\s/g, ''); members.split(",").forEach(part=> { const renamed = part.split(" as ");