Encrypto27
commited on
Commit
·
047d5b4
1
Parent(s):
0704112
hard encrypt plugin
Browse files- plugins/encrypt.js +6 -1
plugins/encrypt.js
CHANGED
|
@@ -44,9 +44,14 @@ await reply('> *Minifying code...*'); // Update message
|
|
| 44 |
const minifiedCode = UglifyJS.minify(q, {
|
| 45 |
compress: {
|
| 46 |
drop_console: true // Remove console.log statements (optional)
|
|
|
|
|
|
|
|
|
|
| 47 |
},
|
| 48 |
mangle: {
|
| 49 |
-
toplevel: true // Mangle global variables (optional)
|
|
|
|
|
|
|
| 50 |
}
|
| 51 |
}).code;
|
| 52 |
|
|
|
|
| 44 |
const minifiedCode = UglifyJS.minify(q, {
|
| 45 |
compress: {
|
| 46 |
drop_console: true // Remove console.log statements (optional)
|
| 47 |
+
screw_ie8: true,
|
| 48 |
+
collapse_vars: true,
|
| 49 |
+
hoist_vars: true
|
| 50 |
},
|
| 51 |
mangle: {
|
| 52 |
+
toplevel: true, // Mangle global variables (optional)
|
| 53 |
+
properties: true,
|
| 54 |
+
functions: true
|
| 55 |
}
|
| 56 |
}).code;
|
| 57 |
|