diff --git a/gulpfile.js b/gulpfile.js index 0c22dc4db..cc16d9eb7 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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) {