Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to html-minifier-terser to support ES6 🔧 #104

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!-- HEADS UP! This library simply wraps [html-minifier](https://github.com/kangax/html-minifier). Please report all issues related to HTML parsing and output to the html-minifier issue tracker. -->
<!-- HEADS UP! This library simply wraps [html-minifier-terser](https://github.com/DanielRuf/html-minifier-terser). Please report all issues related to HTML parsing and output to the html-minifier-terser issue tracker. -->
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ node_js:
- '8'
- '7'
- '6'
- '5'
- '4'
git:
depth: 1
branches:
Expand Down
4 changes: 2 additions & 2 deletions .verb.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
## Heads up!

_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier](https://github.com/kangax/html-minifier/issues) issue tracker.**_
_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier-terser](https://github.com/DanielRuf/html-minifier-terser/issues) issue tracker.**_

## Usage

See the [html-minifer docs](https://github.com/kangax/html-minifier) for all available options.
See the [html-minifier-terser docs](https://github.com/DanielRuf/html-minifier-terser) for all available options.

```js
const gulp = require('gulp');
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ $ npm install --save gulp-htmlmin

## Heads up!

_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier](https://github.com/kangax/html-minifier/issues) issue tracker.**_
_**Please do not report issues related to HTML parsing and output on this repository. Report those issues to the [html-minifier-terser](https://github.com/DanielRuf/html-minifier-terser/issues) issue tracker.**_

## Usage

See the [html-minifer docs](https://github.com/kangax/html-minifier) for all available options.
See the [html-minifier-terser docs](https://github.com/DanielRuf/html-minifier-terser) for all available options.

```js
const gulp = require('gulp');
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

const PluginError = require('plugin-error');
const htmlmin = require('html-minifier');
const htmlmin = require('html-minifier-terser');
const through = require('through2');

module.exports = options => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"test": "mocha"
},
"dependencies": {
"html-minifier": "^3.5.20",
"html-minifier-terser": "^5.0.0",
"plugin-error": "^1.0.1",
"through2": "^2.0.3"
},
Expand Down