Skip to content

Commit

Permalink
move "--color" flag to advanced options
Browse files Browse the repository at this point in the history
  • Loading branch information
evanw committed Aug 12, 2020
1 parent 56b3623 commit 9a037ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,6 @@ Options:
--format=... Output format (iife, cjs, esm, default iife when
platform is browser and cjs when platform is node)
--splitting Enable code splitting (currently only for esm)
--color=... Force use of color terminal escapes (true or false)
--global-name=... The name of the global for the IIFE format

--minify Sets all --minify-* flags
Expand Down Expand Up @@ -387,6 +386,7 @@ Advanced options:
--pure:N Mark the name N as a pure function for tree shaking
--tsconfig=... Use this tsconfig.json file instead of other ones
--out-extension:.js=.mjs Use a custom output extension instead of ".js"
--color=... Force use of color terminal escapes (true or false)

Examples:
# Produces dist/entry_point.js and dist/entry_point.js.map
Expand Down
2 changes: 1 addition & 1 deletion cmd/esbuild/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Options:
--format=... Output format (iife, cjs, esm, default iife when
platform is browser and cjs when platform is node)
--splitting Enable code splitting (currently only for esm)
--color=... Force use of color terminal escapes (true or false)
--global-name=... The name of the global for the IIFE format
--minify Sets all --minify-* flags
Expand Down Expand Up @@ -59,6 +58,7 @@ Advanced options:
--pure:N Mark the name N as a pure function for tree shaking
--tsconfig=... Use this tsconfig.json file instead of other ones
--out-extension:.js=.mjs Use a custom output extension instead of ".js"
--color=... Force use of color terminal escapes (true or false)
Examples:
# Produces dist/entry_point.js and dist/entry_point.js.map
Expand Down

0 comments on commit 9a037ad

Please sign in to comment.