Skip to content

Commit c4e147a

Browse files
committed
Update docs
1 parent 7d58fda commit c4e147a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,14 @@ uglify(options);
3636

3737
`options` - [uglifyJS API options](https://github.com/mishoo/UglifyJS2/blob/master/README.md#minify-options)
3838

39-
`options.sourcemap` – default: `true`, type: `boolean`. The only own option which is used to generate source maps and pass them to rollup.
39+
`options.sourcemap: boolean`
40+
41+
Generates source maps and passes them to rollup. Defaults to `true`.
42+
43+
`options.numWorkers: number`
44+
45+
Amount of workers to spawn. Defaults to the number of CPUs minus 1.
46+
4047

4148
## Examples
4249

0 commit comments

Comments
 (0)