grunt-contrib-uglify
Advanced tools
Comparing version 0.6.0 to 0.7.0
{ | ||
"name": "grunt-contrib-uglify", | ||
"description": "Minify files with UglifyJS.", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-uglify", | ||
@@ -52,3 +52,4 @@ "author": { | ||
"LICENSE-MIT" | ||
] | ||
], | ||
"appveyor_id": "ybtf5vbvtenii561" | ||
} |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-uglify v0.6.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-uglify.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-uglify) <a href="https://ci.appveyor.com/project/gruntjs/grunt-contrib-uglify"><img src="https://ci.appveyor.com/api/projects/status/ybtf5vbvtenii561/branch/master" alt="Build Status: Windows" height="18" /></a> | ||
# grunt-contrib-uglify v0.7.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) | ||
@@ -36,9 +36,9 @@ > Minify files with UglifyJS. | ||
`sourceMapRoot` - The location of your sources is now calculated for you when `sourceMap` is set to `true` | ||
`sourceMapPrefix` - No longer necessary for the above reason | ||
`sourceMappingURL` - Once again, this is calculated automatically | ||
`sourceMappingURL` - This is calculated automatically now | ||
`sourceMapPrefix` - No longer necessary for the above reason | ||
#### Changed options | ||
`sourceMap` - Only accepts a `Boolean` value. Generates a map with a default name for you | ||
`sourceMap` - Only accepts a `Boolean` value. Generates a map with a default name for you | ||
`sourceMapRoot` - The location of your sources is now calculated for you when `sourceMap` is set to `true` but you can set manual source root if needed | ||
@@ -115,2 +115,10 @@ #### New options | ||
###### sourceMapRoot | ||
Type: `String` | ||
Default: `undefined` | ||
With this option you can customize root URL that browser will use when looking for sources. | ||
If the sources are not absolute URLs after prepending of the `sourceMapRoot`, the sources are resolved relative to the source map. | ||
###### enclose | ||
@@ -284,5 +292,6 @@ Type: `Object` | ||
#### Discard console.* functions | ||
#### Turn off console warnings | ||
Specify `drop_console: true` as part of the `compress` options to discard calls to `console.*` functions. | ||
This will supress warning messages in the console. | ||
@@ -416,2 +425,3 @@ ```js | ||
* 2014-12-23 v0.7.0 Adds sourceMapRoot options. Updates readme descriptions. Removes reference to cleancss. | ||
* 2014-09-17 v0.6.0 Output fixes. ASCIIOnly option. Other fixes. | ||
@@ -442,2 +452,2 @@ * 2014-07-25 v0.5.1 Chalk updates. Output updates. | ||
*This file was generated on Wed Sep 17 2014 21:59:24.* | ||
*This file was generated on Tue Dec 23 2014 16:18:53.* |
@@ -179,2 +179,3 @@ /* | ||
file: destBasename, | ||
root: options.sourceMapRoot, | ||
orig: sourceMapIn | ||
@@ -181,0 +182,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28706
323
449