@esbuild-utils/cli
v0.1.5
Published
CLI extension to esbuild that supports loading of configuration files like webpack-cli
Downloads
6
Readme
esbuild-utils
CLI extension to esbuild that supports loading of configuration files like webpack-cli.
Usage
Installation
npm install --save-dev esbuild @esbuild-utils/cli
# or
yarn add -D @esbuild-utils/cli
# or
pnpm add -D @esbuild-utils/cli
Commands
init [options] Create a config file for esbuild.
build [options] Perform build with options in config file.
Init Options
--typescript Create a Typescript config file.
-i, --input <file> Add entry points to the config file.
-o, --output <file> Add output file option to the config file.
Build Options
-c, --config <file> Specifies the config file to be read.