Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee committed Jan 22, 2024
1 parent 6b5f1d9 commit a0ad021
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# hexo-uglify

[![Build Status](https://github.com/hexojs/hexo-uglify/actions/workflows/tester.yml/badge.svg)](https://github.com/hexojs/hexo-uglify/actions/workflows/tester.yml)
[![NPM version](https://badge.fury.io/js/hexo-uglify.svg)](https://www.npmjs.com/package/hexo-uglify)
[![CI](https://github.com/hexojs/hexo-uglify/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/hexojs/hexo-uglify/actions/workflows/ci.yml)
[![Coverage Status](https://coveralls.io/repos/github/hexojs/hexo-uglify/badge.svg?branch=master)](https://coveralls.io/github/hexojs/hexo-uglify?branch=master)

Minify JavaScript files.
Minify JavaScript files with [Terser](https://www.npmjs.com/package/terser).

## Installation

``` bash
```bash
$ npm install hexo-uglify --save
```

## Options

``` yaml
```yaml
uglify:
mangle: true
output:
compress:
exclude:
- '*.min.js'
- "*.min.js"
```
- **exclude**: Exclude files. Use [glob expressions](https://github.com/micromatch/micromatch#extended-globbing) for path matching.
Expand Down

0 comments on commit a0ad021

Please sign in to comment.