
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
esbuild-plugin-remove-duplicate-imports
Advanced tools
ESBuild plugin to remove duplicate require statements from minified build.
ESBuild plugin to remove duplicate require statements from minified build.
Please consider starring this repository and sharing it with your friends.
$ pnpm add esbuild-plugin-rdi
or
$ npm install esbuild-plugin-rdi
or
$ yarn add esbuild-plugin-rdi
If you are using
monorepo
orworkspaces
, you can install this plugin to the root using-w
or to a specific workspace using--filter your-package
or--scope your-package
forpnpm
oryarn
workspaces, respectively.
tsup
// tsup.config.ts or tsup.config.js
import { defineConfig } from "tsup";
import { rdiPlugin } from "esbuild-plugin-rdi";
export default defineConfig(options => ({
...
esbuildPlugins:[rdiPlugin()]
}));
esbuild
import { rdiPlugin } from "esbuild-plugin-rdi";
esbuild.build({
...
plugins: [rdiPlugin()],
});
Coming soon...
Please consider enrolling in our courses or sponsoring our work.
This library is licensed under the MPL-2.0 open-source license.
with 💖 by Mayank Kumar Chaudhari
FAQs
ESBuild plugin to remove duplicate require statements from minified build.
The npm package esbuild-plugin-remove-duplicate-imports receives a total of 136 weekly downloads. As such, esbuild-plugin-remove-duplicate-imports popularity was classified as not popular.
We found that esbuild-plugin-remove-duplicate-imports 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.