Skip to content

Commit d7704c4

Browse files
committedFeb 2, 2016
v0.11.1
1 parent c129bf6 commit d7704c4

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed
 

‎README.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
# grunt-contrib-uglify v0.11.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-uglify.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ybtf5vbvtenii561/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master)
1+
# grunt-contrib-uglify v0.11.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-uglify.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-uglify) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ybtf5vbvtenii561/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify/branch/master)
22

33
> Minify javascript files with UglifyJS
44
5+
6+
57
## Getting Started
6-
This plugin requires Grunt `>=0.4.0`
78

89
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:
910

@@ -183,10 +184,10 @@ Default: `false`
183184
Pass this flag if you don't care about full compliance with Internet Explorer 6-8 quirks.
184185

185186
#### mangleProperties
186-
Type: `Boolean`
187+
Type: `Boolean` `Object`
187188
Default: `false`
188189

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).
190191

191192
#### reserveDOMProperties
192193
Type: `Boolean`
@@ -414,9 +415,9 @@ grunt.initConfig({
414415

415416
#### Conditional compilation
416417

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.
418419

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.
420421

421422
```js
422423
// Project configuration.
@@ -509,6 +510,7 @@ grunt.initConfig({
509510

510511
## Release History
511512

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
512514
* 2015-11-20   v0.11.0   switch to uglify ~2.6.0
513515
* 2015-11-12   v0.10.1   switch to uglify ~2.5
514516
* 2015-10-27   v0.10.0   bump to uglify ^2.5
@@ -543,4 +545,4 @@ grunt.initConfig({
543545

544546
Task submitted by ["Cowboy" Ben Alman](http://benalman.com)
545547

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.*

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grunt-contrib-uglify",
3-
"description": "Minify files with UglifyJS",
3+
"description": "Minify javascript files with UglifyJS",
44
"version": "0.11.1",
55
"author": {
66
"name": "Grunt Team",

0 commit comments

Comments
 (0)
Please sign in to comment.