Skip to content

Commit

Permalink
update links to uglifyJS documentation (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Goller authored and vladikoff committed Dec 18, 2018
1 parent 5cdebda commit 33724cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/uglify-examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ grunt.initConfig({
Specify `beautify: true` to beautify your code for debugging/troubleshooting purposes.
Pass an object to manually configure any other output options.

See [UglifyJS documentation](https://github.com/mishoo/UglifyJS2#beautifier-options) for more information.
See [UglifyJS documentation](https://github.com/mishoo/UglifyJS2#output-options) for more information.

```js
// Project configuration.
Expand Down
8 changes: 4 additions & 4 deletions docs/uglify-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,19 @@ sourceMapUrl | sourceMap.url
Type: `Boolean` `Object`
Default: `{}`

Turn on or off mangling with default options. If an `Object` is specified, it is passed directly to `ast.mangle_names()` *and* `ast.compute_char_frequency()` (mimicking command line behavior). [View all options here](https://github.com/mishoo/UglifyJS2#mangler-options).
Turn on or off mangling with default options. If an `Object` is specified, it is passed directly to `ast.mangle_names()` *and* `ast.compute_char_frequency()` (mimicking command line behavior). [View all options here](https://github.com/mishoo/UglifyJS2#mangle-options).

## compress
Type: `Boolean` `Object`
Default: `{}`

Turn on or off source compression with default options. If an `Object` is specified, it is passed as options to `UglifyJS.Compressor()`. [View all options here](https://github.com/mishoo/UglifyJS2#compressor-options).
Turn on or off source compression with default options. If an `Object` is specified, it is passed as options to `UglifyJS.Compressor()`. [View all options here](https://github.com/mishoo/UglifyJS2#compress-options).

## beautify
Type: `Boolean` `Object`
Default: `false`

Turns on beautification of the generated source code. [View all options here](https://github.com/mishoo/UglifyJS2#beautifier-options)
Turns on beautification of the generated source code. [View all options here](https://github.com/mishoo/UglifyJS2#output-options)

#### parse.expression
Type: `Boolean`
Expand Down Expand Up @@ -143,7 +143,7 @@ Set this to `true` if you still care about full compliance with Internet Explore
Type: `Boolean` `Object`
Default: `false`

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).
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#mangle-options).

## reserveDOMProperties
Type: `Boolean`
Expand Down

0 comments on commit 33724cd

Please sign in to comment.