🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

vite-plugin-webp-compress

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-webp-compress

A Vite plugin for compressing and converting images to WebP format during the build process.

1.1.4
latest
Source
npm
Version published
Weekly downloads
181
14.56%
Maintainers
1
Weekly downloads
 
Created
Source

Vite Plugin WebP Compress

A Vite plugin for compressing and converting JPG and PNG images to WebP format during the build process.

Installation

Install the plugin via npm, yarn, or pnpm:

npm install vite-plugin-webp-compress --save-dev
# or
yarn add vite-plugin-webp-compress --dev
# or
pnpm add vite-plugin-webp-compress -D

Usage

Add the plugin to your Vite config:

import VitePluginWebpCompress from 'vite-plugin-webp-compress';

export default {
  plugins: [
    VitePluginWebpCompress()
  ]
}

Options

This plugin currently doesn't have any configurable options.

Keywords

vite

FAQs

Package last updated on 26 Sep 2023

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