Registry / devops / esbuild-config

esbuild-config

JSON →
library1.0.1jsnpmunverified

A Rust-based CLI tool that converts a JSON configuration file (esbuild.config.json) into command-line arguments for esbuild. Version 1.0.1, released with Windows binary path fix and arm64 support on macOS/Linux. Unlike other config wrappers, esbuild-config does no validation, making it version-independent; it only translates JSON types to esbuild's argument format. It can be installed via npm, Cargo, or precompiled binaries. The project is developed in Rust and is currently in active maintenance mode.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

This package is a CLI tool, not a library. Use npx or install globally.

npx esbuild-config

The tool reads a config file; there is no programmatic API.

Create esbuild.config.json and run `esbuild $(esbuild-config)`

Creates a simple esbuild config JSON file and runs esbuild-config to output the corresponding CLI arguments.

echo '{ "entry": "./index.js", "outfile": "./bundle.js", "external": ["react", "react-dom"], "loader": { ".js": "jsx", ".png": "base64" }, "minify": true }' > esbuild.config.json npx esbuild-config
esbuild-config --version
Debug
Known footguns
gotchaThe package does not validate configuration values; invalid options will be passed to esbuild and may cause errors.
gotchaThe entry field is moved to the end of the argument list automatically. If you pass multiple entry points as an array, they will all appear at the end.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
10 hits · last 30 days
gptbot
3
ahrefsbot
3
claudebot
3
bingbot
1
Resources