
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
vite-plugin-total-bundle-size
Advanced tools
This readme was generated by GPT-4
To install the plugin, run the following command in your project directory:
npm i -D vite-plugin-total-bundle-size
To use the plugin, import it into your vite.config.js
or vite.config.ts
file and add it to the plugins
array:
import { totalBundleSize } from 'vite-plugin-total-bundle-size';
export default {
plugins: [totalBundleSize()],
};
or with options:
import { totalBundleSize } from 'vite-plugin-total-bundle-size';
export default {
plugins: [
totalBundleSize({
fileNameRegex: /\.(js|css)$/,
printFileStats: true,
calculateGzip: false,
}),
],
};
To contribute to the development of this plugin, ensure you have the following tools installed:
Clone the repository, install dependencies, and start making your changes:
git clone https://github.com/your-username/vite-plugin-total-bundle-size.git
cd vite-plugin-total-bundle-size
npm install
This project is licensed under the ISC License.
FAQs
Vite plugin that outputs the total size of the bundle
The npm package vite-plugin-total-bundle-size receives a total of 338 weekly downloads. As such, vite-plugin-total-bundle-size popularity was classified as not popular.
We found that vite-plugin-total-bundle-size demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.