Skip to content

Commit

Permalink
docs(README): link to Why Use Pump?
Browse files Browse the repository at this point in the history
Add a link to “Why Use Pump?” in the error documentation, so users know
how to capture error messages.

[ci skip]
  • Loading branch information
HenryGau authored and terinjokes committed Jan 24, 2017
1 parent ccdc482 commit 1bf0f72
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Expand Up @@ -93,14 +93,16 @@ The GulpUglifyError constructor is exported by this plugin for `instanceof` chec
It contains the following properties:

- `fileName`: The full file path for the file being minified.
- `cause`: The original UglifyJS error, if avialable.
- `cause`: The original UglifyJS error, if available.

Most UglifyJS error messages have the following properties:

- `message` (or `msg`)
- `filename`
- `line`

To see useful error messages, see [Why Use Pump?](docs/why-use-pump/README.md#why-use-pump).

## Using a Different UglifyJS

By default, `gulp-uglify` uses the version of UglifyJS installed as a dependency.
Expand Down

0 comments on commit 1bf0f72

Please sign in to comment.