Skip to content

Commit

Permalink
Mangle variable names in minified JS
Browse files Browse the repository at this point in the history
  • Loading branch information
Scimonster committed May 17, 2017
1 parent 02cdf92 commit 37a67fe
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 9 deletions.
5 changes: 2 additions & 3 deletions client/hebcal.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/hebcal.min.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions client/hebcal.noloc.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/hebcal.noloc.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion compile.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function minify(inFile, outFile, inSourceMap, outSourceMap) {
inSourceMap: inSourceMap,
outSourceMap: outSourceMap,
sourceRoot: github,
mangle: false,
mangle: true,
warnings: true
});
fs.writeFileSync(outFile, minHeader + removeLocalPath(result.code));
Expand Down

0 comments on commit 37a67fe

Please sign in to comment.