|
1 |
| -# grunt-contrib-uglify v0.11.0 [](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master) |
| 1 | +# grunt-contrib-uglify v0.11.1 [](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master) |
2 | 2 |
|
3 | 3 | > Minify javascript files with UglifyJS
|
4 | 4 |
|
| 5 | + |
| 6 | + |
5 | 7 | ## Getting Started
|
6 |
| -This plugin requires Grunt `>=0.4.0` |
7 | 8 |
|
8 | 9 | If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
|
9 | 10 |
|
@@ -183,10 +184,10 @@ Default: `false`
|
183 | 184 | Pass this flag if you don't care about full compliance with Internet Explorer 6-8 quirks.
|
184 | 185 |
|
185 | 186 | #### mangleProperties
|
186 |
| -Type: `Boolean` |
| 187 | +Type: `Boolean` `Object` |
187 | 188 | Default: `false`
|
188 | 189 |
|
189 |
| -Use this flag to turn on object property name mangling. |
| 190 | +Turn on or off property mangling with default options. If an `Object` is specified, it is passed directly to `ast.mangle_properties()` (mimicking command line behavior). [View all options here](https://github.com/mishoo/UglifyJS2#mangler-options). |
190 | 191 |
|
191 | 192 | #### reserveDOMProperties
|
192 | 193 | Type: `Boolean`
|
@@ -414,9 +415,9 @@ grunt.initConfig({
|
414 | 415 |
|
415 | 416 | #### Conditional compilation
|
416 | 417 |
|
417 |
| -You can also enable UglifyJS conditional compilation . This is commonly used to remove debug code blocks for production builds. |
| 418 | +You can also enable UglifyJS conditional compilation. This is commonly used to remove debug code blocks for production builds. |
418 | 419 |
|
419 |
| -See [UglifyJS global definitions documentation](http://lisperator.net/uglifyjs/compress#global-defs) for more information. This is equivalent to the command line [`--define` option](https://github.com/mishoo/UglifyJS#use-as-a-code-pre-processor). |
| 420 | +See [UglifyJS global definitions documentation](http://lisperator.net/uglifyjs/compress#global-defs) for more information. |
420 | 421 |
|
421 | 422 | ```js
|
422 | 423 | // Project configuration.
|
@@ -509,6 +510,7 @@ grunt.initConfig({
|
509 | 510 |
|
510 | 511 | ## Release History
|
511 | 512 |
|
| 513 | + * 2016-01-29 v0.11.1 switch to lodash ^4.0.1 switch to grunt-contrib-clean ^0.7.0 switch to grunt-contrib-jshint ^0.12.0 |
512 | 514 | * 2015-11-20 v0.11.0 switch to uglify ~2.6.0
|
513 | 515 | * 2015-11-12 v0.10.1 switch to uglify ~2.5
|
514 | 516 | * 2015-10-27 v0.10.0 bump to uglify ^2.5
|
@@ -543,4 +545,4 @@ grunt.initConfig({
|
543 | 545 |
|
544 | 546 | Task submitted by ["Cowboy" Ben Alman](http://benalman.com)
|
545 | 547 |
|
546 |
| -*This file was generated on Fri Nov 20 2015 14:05:29.* |
| 548 | +*This file was generated on Tue Feb 02 2016 11:38:37.* |
0 commit comments