Skip to content

Commit

Permalink
Add comment to esbuild mangleprops
Browse files Browse the repository at this point in the history
  • Loading branch information
exyi committed Oct 7, 2023
1 parent 1431976 commit 1ad64a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Framework/Framework/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}

Expand Down

0 comments on commit 1ad64a8

Please sign in to comment.