0.1.34 • Published 10 months ago
esbuild-c v0.1.34
esbuild-c
Empowers esbuild with config processing
Motivation
- Align supported CLI options with the JS API. For example, to bring specifying plugins via the CLI.
- Let configs be mergeable via
extends
. - Load configs in any suitable formats.
Status
PoC
Install
npm i -D esbuild-c esbuild
Usage
CLI
esbuild-c [standard esbuild options]
esbuild-c --config esbuild.config.js
If --config
ref is not specified, esbuild-c
will look for it via cosmiconfig.
JS/TS
You can rebuild the CLI with your own logic:
#!/usr/bin/env node
import esbuild from 'esbuild'
import { loadConfig, parseArgv } from 'esbuild-c'
const flags = parseArgv(process.argv.slice(2))
const config = await loadConfig()
// do smth with the config
await esbuild.build(config)
Refs
- esbuild/issues/884
- esbuild-config
npm
- esbuild-resolve-config
npm
- FlavioLionelRita/config-extends
- cosmiconfig/issues/40
- chrisblossom/ex-config
- prettier/issues/3146
License
0.1.34
10 months ago
0.1.30
1 year ago
0.1.31
1 year ago
0.1.32
1 year ago
0.1.33
1 year ago
0.1.29
1 year ago
0.1.28
1 year ago
0.1.27
1 year ago
0.1.26
1 year ago
0.1.25
1 year ago
0.1.21
1 year ago
0.1.22
1 year ago
0.1.23
1 year ago
0.1.24
1 year ago
0.1.20
1 year ago
0.1.18
1 year ago
0.1.19
1 year ago
0.1.16
1 year ago
0.1.17
1 year ago
0.1.14
1 year ago
0.1.15
1 year ago
0.1.10
1 year ago
0.1.11
1 year ago
0.1.12
1 year ago
0.1.13
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.5
1 year ago
0.1.2
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.1
2 years ago
0.1.0
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago
0.0.0
2 years ago