{"id":25270,"library":"esbuild-config","title":"esbuild-config","description":"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.","status":"active","version":"1.0.1","language":"javascript","source_language":"en","source_url":"https://github.com/bpierre/esbuild-config","tags":["javascript"],"install":[{"cmd":"npm install esbuild-config","lang":"bash","label":"npm"},{"cmd":"yarn add esbuild-config","lang":"bash","label":"yarn"},{"cmd":"pnpm add esbuild-config","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"This package is a CLI tool, not a library. Use npx or install globally.","wrong":"require('esbuild-config')","symbol":"esbuild-config","correct":"npx esbuild-config"},{"note":"The tool reads a config file; there is no programmatic API.","wrong":"Importing a default config from node_modules","symbol":"esbuild.config.json","correct":"Create esbuild.config.json and run `esbuild $(esbuild-config)`"}],"quickstart":{"code":"echo '{\n  \"entry\": \"./index.js\",\n  \"outfile\": \"./bundle.js\",\n  \"external\": [\"react\", \"react-dom\"],\n  \"loader\": { \".js\": \"jsx\", \".png\": \"base64\" },\n  \"minify\": true\n}' > esbuild.config.json\nnpx esbuild-config","lang":"javascript","description":"Creates a simple esbuild config JSON file and runs esbuild-config to output the corresponding CLI arguments."},"warnings":[{"fix":"Double-check all config keys against esbuild's CLI options.","message":"The package does not validate configuration values; invalid options will be passed to esbuild and may cause errors.","severity":"gotcha","affected_versions":">=0.1.0"},{"fix":"Use an array for multiple entry points, and note that the order in the array determines the order in the output.","message":"The 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.","severity":"gotcha","affected_versions":">=0.1.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install globally: npm install --global esbuild-config","cause":"esbuild-config is not installed or not in PATH.","error":"error: Unknown command: esbuild-config"},{"fix":"Create esbuild.config.json or specify a path: esbuild $(esbuild-config ./path/to/config.json)","cause":"The current directory does not contain a config file, and no file path is provided.","error":"error: No such file: esbuild.config.json"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}