Socket
Book a DemoInstallSign in
Socket

vite-plugin-es-toolkit

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-es-toolkit

Vite plugin for replacing Lodash with es-toolkit

1.0.1
latest
Source
npmnpm
Version published
Weekly downloads
9.5K
0.27%
Maintainers
1
Weekly downloads
 
Created
Source

npm downloads CI

vite-plugin-es-toolkit

Vite plugin for replacing Lodash with es-toolkit, a smaller, faster, and more tree-shakable alternative.

tl;dr

  • Install es-toolkit, if you haven't already, by executing npm install es-toolkit or yarn add es-toolkit.
  • Install by executing npm install vite-plugin-es-toolkit or yarn add vite-plugin-es-toolkit.
  • Import by adding import esToolkitPlugin from 'vite-plugin-es-toolkit'.
  • Use it by adding esToolkitPlugin() to plugins section of your Vite config.

Usage

Here's an example of basic configuration:

import { defineConfig } from 'vite';
import esToolkitPlugin from 'vite-plugin-es-toolkit';

export default defineConfig({
  plugins: [
    esToolkitPlugin(),
  ],
});

[!TIP] Measure actual impact of vite-plugin-es-toolkit on your codebase with Vite Compare Bundle Size GitHub Action.

License

The MIT License.

Author

Wojciech Maj Wojciech Maj

Keywords

vite

FAQs

Package last updated on 12 Jun 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.