We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86d1685 + cb0a848 commit 3374c5dCopy full SHA for 3374c5d
Gruntfile.js
@@ -176,8 +176,22 @@ module.exports = function(grunt) {
176
177
// Only preserve comments that start with (!)
178
preserveComments: /^!/,
179
+
180
+ // Minify object properties that begin with _ ("private"
181
+ // methods and values)
182
+ mangleProperties: {
183
+ regex: /^_/
184
+ },
185
186
compress: {
187
+ booleans: true,
188
+ conditionals: true,
189
dead_code: true,
190
+ join_vars: true,
191
+ pure_getters: true,
192
+ sequences: true,
193
+ unused: true,
194
195
global_defs: {
196
'TEST': false
197
}
0 commit comments