
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vite-plugin-webp-and-path
Advanced tools
This Vite plugin automatically converts image files to WebP format and updates image paths in HTML and CSS files within your project.
This Vite plugin converts images to WebP format and updates their paths in HTML and CSS files.
npm install vite-plugin-webp-and-path
In your vite.config.js:
import VitePluginWebpAndPath from 'vite-plugin-webp-and-path';
export default {
plugins: [
VitePluginWebpAndPath({
// options
}),
],
};
targetDir: Target directory to search for image files. Default is ./dist/.imgExtensions: Comma-separated list of image file extensions to convert. Default is jpg,png.textExtensions: Comma-separated list of text file extensions to update image paths in. Default is html,css.quality: Quality of the converted WebP images. Default is 80.enableLogs: Enable logs. Default is true.MIT
FAQs
This Vite plugin automatically converts image files to WebP format and updates image paths in HTML and CSS files within your project.
The npm package vite-plugin-webp-and-path receives a total of 30 weekly downloads. As such, vite-plugin-webp-and-path popularity was classified as not popular.
We found that vite-plugin-webp-and-path demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.