vite-plugin-minify
Advanced tools
Comparing version 0.2.0 to 1.0.0
import { Plugin } from 'vite'; | ||
import { Options } from 'html-minifier-terser'; | ||
declare type ViteMinifyPluginOptions = Options; | ||
export declare type ViteMinifyPluginOptions = Options; | ||
export declare function ViteMinifyPlugin(options?: ViteMinifyPluginOptions): Plugin; | ||
export {}; |
import { Plugin, ResolvedConfig } from 'vite' | ||
import { minify, Options } from 'html-minifier-terser' | ||
type ViteMinifyPluginOptions = Options | ||
export type ViteMinifyPluginOptions = Options | ||
@@ -6,0 +6,0 @@ export function ViteMinifyPlugin(options?: ViteMinifyPluginOptions): Plugin { |
{ | ||
"name": "vite-plugin-minify", | ||
"version": "0.2.0", | ||
"version": "1.0.0", | ||
"description": "minify html in production", | ||
@@ -8,4 +8,4 @@ "main": "index.js", | ||
"scripts": { | ||
"build": "npx tsc -d", | ||
"watch": "npx tsc --watch" | ||
"build": "tsc -d", | ||
"watch": "tsc -w" | ||
}, | ||
@@ -27,3 +27,3 @@ "author": "zhuweiyou <i@zhuweiyou.com>", | ||
"dependencies": { | ||
"html-minifier-terser": "^7.0.0-alpha.2" | ||
"html-minifier-terser": "^6.1.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4587
7
0
76
+ Addedcommander@8.3.0(transitive)
+ Addedhe@1.2.0(transitive)
+ Addedhtml-minifier-terser@6.1.0(transitive)
- Removedcommander@10.0.1(transitive)
- Removedentities@4.5.0(transitive)
- Removedhtml-minifier-terser@7.2.0(transitive)
Updatedhtml-minifier-terser@^6.1.0