From 1ad64a8264e5a41ef21495640a4b57cb071a8014 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Standa=20Luke=C5=A1?= Date: Sat, 7 Oct 2023 13:34:13 +0200 Subject: [PATCH] Add comment to esbuild mangleprops --- src/Framework/Framework/build.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Framework/Framework/build.js b/src/Framework/Framework/build.js index 0e6435ad40..c4aaa4476d 100644 --- a/src/Framework/Framework/build.js +++ b/src/Framework/Framework/build.js @@ -21,9 +21,7 @@ async function build({ debug, spa, output, input = "dotvvm-root.ts" }) { treeShaking: true, minify: !debug, metafile: printStats, - mangleProps: debug ? undefined : /^_/, - - // plugins: [envPlugin], + mangleProps: debug ? undefined : /^_/, // allow renaming of properties starting with _ }).catch(() => process.exit(1)) }