Skip to content

Commit

Permalink
v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vladikoff committed Mar 4, 2016
1 parent 5107d7d commit a75d773
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 6 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
v1.0.0:
date: 2016-03-04
changes:
- Use uglify-js ~2.6.2 to fix sourcemap issue.
- Improving docs for global-defs and --define options.
- Add 'sourceMapUrl' option.
- add bare_returns option.
- Optionally set report verbosity level using report option.
v0.11.1:
date: 2016-01-29
changes:
Expand Down
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 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)
# grunt-contrib-uglify v1.0.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)

> Minify javascript files with UglifyJS
Expand Down Expand Up @@ -121,6 +121,12 @@ With this option you can customize root URL that browser will use when looking f

If the sources are not absolute URLs after prepending of the `sourceMapRoot`, the sources are resolved relative to the source map.

#### sourceMapUrl
Type: `String`
Default: `undefined`

Override the calculated value for `sourceMappingURL` in the source map. This is useful if the source map location is not relative to the base path of the minified file, i.e. when using a CDN

###### enclose
Type: `Object`
Default: `undefined`
Expand Down Expand Up @@ -511,6 +517,7 @@ grunt.initConfig({

## Release History

* 2016-03-04   v1.0.0   Use uglify-js ~2.6.2 to fix sourcemap issue. Improving docs for global-defs and --define options. Add 'sourceMapUrl' option. add bare_returns option. Optionally set report verbosity level using report option.
* 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
* 2015-11-20   v0.11.0   switch to uglify ~2.6.0
* 2015-11-12   v0.10.1   switch to uglify ~2.5
Expand Down Expand Up @@ -546,4 +553,4 @@ grunt.initConfig({

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

*This file was generated on Tue Feb 02 2016 12:54:04.*
*This file was generated on Fri Mar 04 2016 12:46:01.*
3 changes: 2 additions & 1 deletion docs/uglify-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,12 @@ Default: `false`
Parse a single expression, rather than a program (for parsing JSON)

## report
Choices: `'min'`, `'gzip'`
Choices: `false, 'none', 'min'`, `'gzip'`
Default: `'min'`

Either report only minification result or report minification and gzip results.
This is useful to see exactly how well clean-css is performing but using `'gzip'` will make the task take 5-10x longer to complete. [Example output](https://github.com/sindresorhus/maxmin#readme).
If false or 'none' is used the report will be generated on the verbose output.

## sourceMap
Type: `Boolean`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-contrib-uglify",
"description": "Minify javascript files with UglifyJS",
"version": "0.11.1",
"version": "1.0.0",
"author": {
"name": "Grunt Team",
"url": "http:https://gruntjs.com/"
Expand Down
2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/expected/sourcemapin_sources.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a75d773

Please sign in to comment.