chore: deps: migrate to html-minifier-next (#139)

This commit is contained in:
nisbet-hubbard
2025-08-16 16:09:41 +08:00
committed by GitHub
parent c909728a98
commit f0187b3572
3 changed files with 3 additions and 3 deletions

View File

@@ -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,

View File

@@ -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",

View File

@@ -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';