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

vite-plugin-auto-zip

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-auto-zip

provide a vite plugin then zip your file after compile done

  • 1.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
87
decreased by-37.41%
Maintainers
1
Weekly downloads
 
Created
Source

vite-plugin-auto-zip

my first vite plugin named auto-zip,mean it will auto zip your dist files after vite build done ,only emit when production

basic use on vite.config.js

import AutoZip from 'vite-plugin-auto-zip'
{
    plugins:[
        AutoZip()
    ]
}

params of AutoZip

  1. folderPath

    • the target folder you want to zip
    • default value is './dist'
  2. outPath

    • the output folder you want to put the zip file
    • default value is './dist'
  3. outName

    • your zip file name
    • default value is 'dist.zip'
function AutoZip(folderPath: string = './dist', outPath: string = './dist', outName: string = 'dist.zip')

Keywords

FAQs

Package last updated on 02 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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