
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
vite-plugin-parse-json
Advanced tools
vite-plugin-chunk is a Vite plugin that makes it easy to control chunk splitting and bundle optimization. It helps you define custom chunk strategies, improve caching, and boost performance for modern, high-performance web applications.
Using npm:
npm install vite-plugin-chunk --save-dev
Using Yarn:
yarn add vite-plugin-chunk -D
Add the plugin to your vite.config.js or vite.config.ts:
import { defineConfig } from "vite";
import chunk from "vite-plugin-chunk";
export default defineConfig({
plugins: [
chunk({
strategy: "manual",
customSplits: {
vendor: ["react", "react-dom"],
utils: ["lodash", "axios"],
},
}),
],
});
| Option | Type | Default | Description |
|---|---|---|---|
strategy | string | "default" | Chunking strategy: "default", "manual", or "split-vendor" |
customSplits | object | {} | Define manual chunk groups (e.g., vendor, utils, etc.) |
enableDiagnostics | boolean | false | Enables detailed logs about chunking and performance metrics |
[vite-plugin-chunk] 📦 Splitting vendor chunk: react, react-dom
[vite-plugin-chunk] âś… Generated 3 optimized chunks
MIT © [cent-fi]
Have ideas or improvements? Contributions are welcome! Feel free to open an issue or submit a PR.
FAQs
security holding package
The npm package vite-plugin-parse-json receives a total of 0 weekly downloads. As such, vite-plugin-parse-json popularity was classified as not popular.
We found that vite-plugin-parse-json demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.