Skip to content

Commit

Permalink
Merge pull request #1710 from riganti/esbuild-mangleprops-comment
Browse files Browse the repository at this point in the history
Add comment to esbuild mangleprops
  • Loading branch information
tomasherceg authored Oct 7, 2023
2 parents 1431976 + 1ad64a8 commit 3546999
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 3546999

Please sign in to comment.