Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
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 lib/html.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* сжимаем код через htmlMinify */
import assert from 'node:assert';
import Minifier from 'html-minifier-terser';
import Minifier from 'html-minifier-next';

const defaultOptions = {
removeComments: true,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"debug": "^4.1.0",
"esbuild": "^0.25.1",
"find-up": "^7.0.0",
"html-minifier-terser": "^7.1.0",
"html-minifier-next": "^1.1.4",
"lightningcss": "^1.28.1",
"montag": "^1.2.1",
"readjson": "^2.2.2",
Expand Down
2 changes: 1 addition & 1 deletion test/minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CleanCSS from 'clean-css';
import {transform as lightningcssTransform} from 'lightningcss';
import {minify as terserMinify} from 'terser';
import {minify as putoutMinify} from '@putout/minify';
import htmlMinifier from 'html-minifier-terser';
import htmlMinifier from 'html-minifier-next';
import * as esbuild from 'esbuild';
import swc from '@swc/core';
import montag from 'montag';
Expand Down
Loading