Fix extension private prop mangling when compiling all extensions (#167626)

Fix extension private prop mangling when compiling all projects

#167269

Re-applies previous commit with a fix for html's custom webpack logic
This commit is contained in:
Matt Bierner
2022-11-29 14:20:23 -08:00
committed by GitHub
parent 4357b1c4d3
commit bf8e26d144
3 changed files with 30 additions and 14 deletions

View File

@@ -61,7 +61,7 @@ module.exports = function () {
output: `"${escapeText(lines.join('\n'))}"`
});
strResult = `\nconst libs : { [name:string]: string; } = {\n`
let strResult = `\nconst libs : { [name:string]: string; } = {\n`
for (let i = result.length - 1; i >= 0; i--) {
strResult += `"${result[i].name}": ${result[i].output},\n`;
}