
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
vite-react-chunker
Advanced tools
A Vite plugin for advanced chunk splitting and bundle optimization, helping improve caching, load performance, and maintainability in modern web projects.
vite-react-chunker 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-react-chunker --save-dev
Using Yarn:
yarn add vite-react-chunker -D
Add the plugin to your vite.config.js or vite.config.ts:
import { defineConfig } from "vite";
import chunk from "vite-react-chunker";
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-react-chunker] 📦 Splitting vendor chunk: react, react-dom
[vite-react-chunker] âś… 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
A Vite plugin for advanced chunk splitting and bundle optimization, helping improve caching, load performance, and maintainability in modern web projects.
The npm package vite-react-chunker receives a total of 0 weekly downloads. As such, vite-react-chunker popularity was classified as not popular.
We found that vite-react-chunker demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.