Skip to content

Commit

Permalink
fix: add missing --asset-builds to cli help message (#1228)
Browse files Browse the repository at this point in the history
The `-a, --asset-builds` do exists and is useful in some
circumstances(#1049), but it seems
that the cli help message does not contain its usage description ( while
`README.md` has the description).

This PR add the description of `--asset-builds` to the cli help message.

---------

Co-authored-by: Steven <steven@ceriously.com>
  • Loading branch information
CNLHC and styfle authored Nov 15, 2024
1 parent 0ff93c6 commit 84f8c52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Options:
-m, --minify Minify output
-C, --no-cache Skip build cache population
-s, --source-map Generate source map
-a, --asset-builds Build nested JS assets recursively, useful for
when code is loaded as an asset eg for workers.
--no-source-map-register Skip source-map-register source map support
-e, --external [mod] Skip bundling 'mod'. Can be used many times
-q, --quiet Disable build summaries / non-error outputs
Expand Down

0 comments on commit 84f8c52

Please sign in to comment.