diff --git a/README.md b/README.md index 22474c0f..6c066a02 100644 --- a/README.md +++ b/README.md @@ -340,6 +340,7 @@ Options: --platform=... Platform target (browser or node, default browser) --external:M Exclude module M from the bundle --format=... Output format (iife, cjs, esm) + --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 diff --git a/cmd/esbuild/main.go b/cmd/esbuild/main.go index 76d798bf..6eeef0a2 100644 --- a/cmd/esbuild/main.go +++ b/cmd/esbuild/main.go @@ -26,6 +26,7 @@ Options: --platform=... Platform target (browser or node, default browser) --external:M Exclude module M from the bundle --format=... Output format (iife, cjs, esm) + --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