
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
esbuild-plugin-velcro
Advanced tools
This esbuild plugin uses Velcro to build projects without having to npm install dependencies
This esbuild plugin uses Velcro to build projects without having to npm install dependencies.
This Plugin wires up Velcro with esbuild so that bare module
Given a project with the following file structure:
package.json:
{
"dependencies": {
"react": "~17.0.1",
"react-dom": "~17.0.1"
}
}
index.jsx:
import * as React from 'react';
import * as ReactDOMServer from 'react-dom/server';
const Hello = () => <h1>Hello world</h1>;
export function render() {
return ReactDOMServer.renderToString(<Hello />);
}
Configure esbuild to build this project without ever having to npm install react or react-dom...
build.js:
import { build } from 'esbuild';
import { createPlugin } from 'esbuild-plugin-velcro';
(async () => {
const result = await build({
bundle: true,
define: {
'process.env.NODE_ENV': JSON.stringify('development'),
},
entryPoints: ['.'],
plugins: [createPlugin({ target: 'node' })],
});
})();
createPlugin(options)Returns an instance of this plugin where options is an optional object having:
.extensions is an optional array of extensions to support resolving files without explicit extensions..packageMain is an optional array of supported 'main' fields. Options:
browser - Note that the browser field's extended resolution and overrides semantics are supportedmodulejsnext:mainmainunpkg.target is an optional value describing the target runtime environment for the build. Options:
node - When this is specified, Node's built-in modules will be treated as esbuild externals, and therefore not bundled.FAQs
This esbuild plugin uses Velcro to build projects without having to npm install dependencies
We found that esbuild-plugin-velcro 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.