Encrypto27 commited on
Commit
ee19a29
Β·
1 Parent(s): 6769370

update uglify

Browse files
Files changed (1) hide show
  1. plugins/encrypt.js +6 -6
plugins/encrypt.js CHANGED
@@ -41,15 +41,15 @@ cmd({
41
  // Minify the code using UglifyJS
42
  const minifiedCode = UglifyJS.minify(q, {
43
  compress: {
44
- drop_console: true, // Remove console.log statements (optional)
45
- // screw_ie8: true,
46
- // collapse_vars: true,
47
- // hoist_vars: true
48
  },
49
  mangle: {
50
  toplevel: true, // Mangle global variables (optional)
51
- properties: true,
52
- functions: true
53
  }
54
  }).code;
55
 
 
41
  // Minify the code using UglifyJS
42
  const minifiedCode = UglifyJS.minify(q, {
43
  compress: {
44
+ drop_console: true // Remove console.log statements (optional)
45
+ screw_ie8: true,
46
+ collapse_vars: true,
47
+ hoist_vars: true
48
  },
49
  mangle: {
50
  toplevel: true, // Mangle global variables (optional)
51
+ // properties: true,
52
+ // functions: true
53
  }
54
  }).code;
55