Skip to content

Commit

Permalink
build: fix a bug about name mangling
Browse files Browse the repository at this point in the history
for #1178
  • Loading branch information
gdh1995 committed Jul 25, 2024
1 parent 0c728b7 commit 3ed56ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,9 @@ const postTerser = exports.postTerser = async (terserConfig, file, allPaths) =>
}
if (allPathStr.indexOf("extend_click_vc.") >= 0) {
get()
contents = contents.replace(/ ?\bVC\b ?/, "")
if (!contents.includes("VC(1)")) {
contents = contents.replace(/ ?\bVC\b ?/, "")
}
logger("%o: %o %s", ":extend_click_vc", contents.length, "bytes in file");
}
if (locally) {
Expand Down

0 comments on commit 3ed56ff

Please sign in to comment.