https://github.com/takker99/esbuild-deno-cli
CLI wrapper of esbuild and esbuild-deno-loader
https://github.com/takker99/esbuild-deno-cli
bundler deno esbuild
Last synced: 9 months ago
JSON representation
CLI wrapper of esbuild and esbuild-deno-loader
- Host: GitHub
- URL: https://github.com/takker99/esbuild-deno-cli
- Owner: takker99
- License: mit
- Created: 2024-08-14T01:27:37.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T01:11:10.000Z (about 1 year ago)
- Last Synced: 2025-04-10T23:14:14.224Z (about 1 year ago)
- Topics: bundler, deno, esbuild
- Language: TypeScript
- Homepage: https://jsr.io/@takker/esbuild-deno-cli
- Size: 78.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @takker/esbuild
[](https://jsr.io/@takker/esbuild-deno-cli)
[](https://github.com/takker99/esbuild-deno-cli/actions?query=workflow%3Aci)
[Esbuild](https://github.com/evanw/esbuild) CLI wrapper with
[esbuild-deno-loader](https://jsr.io/@luca/esbuild-deno-loader) CLI wrapper of
esbuild and esbuild-deno-loader
# Usage
```
Usage: esbuild-deno-cli [entry-points...]
Description:
Build JS/TS/JSX/TSX codes following Deno-style imports by esbuild
Options:
-h, --help - Show this help.
-V, --version - Show the version number for this program.
General options:
--bundle - Bundle all dependencies into the output files
--minify - Minify the output (sets all --minify-* flags)
--platform - Platform target (Default: "browser", Values: "browser", "node", "neutral")
--serve - Start a local HTTP server on this host:port for outputs
--tsconfig - Use this tsconfig.json file instead of other ones (Conflicts: --tsconfig-raw)
--tsconfig-raw - Override all tsconfig.json files with this string (Conflicts: --tsconfig)
--watch - Watch mode: rebuild on file system changes (stops when stdin is closed)
Deno options:
--config - Path to the Deno configuration file. If it is not specified, the default
configuration file in the current directory is used.
--no-config - Do not use any Deno configuration file.
--import-map - Path to the import map file.
--lock - Path to the lock file. If it is not specified but the Deno configuration file is
used, Find the lock file in the same directory as the Deno configuration file.
--node-modules-dir - Equivalent to the "--node-modules-dir" flag to Deno
```
For full documentation, run
```sh
deno run jsr:@takker/esbuild-deno-cli --help
```