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.
1 parent 25739a9 commit cb0a848Copy full SHA for cb0a848
Gruntfile.js
@@ -172,8 +172,22 @@ module.exports = function(grunt) {
172
173
// Only preserve comments that start with (!)
174
preserveComments: /^!/,
175
+
176
+ // Minify object properties that begin with _ ("private"
177
+ // methods and values)
178
+ mangleProperties: {
179
+ regex: /^_/
180
+ },
181
182
compress: {
183
+ booleans: true,
184
+ conditionals: true,
185
dead_code: true,
186
+ join_vars: true,
187
+ pure_getters: true,
188
+ sequences: true,
189
+ unused: true,
190
191
global_defs: {
192
'TEST': false
193
}
0 commit comments