Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-minify

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-minify - npm Package Compare versions

Comparing version 0.2.0 to 1.0.0

LICENSE

3

index.d.ts
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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc