From 74e39928596758ccf0a09f4ef571be01233adea2 Mon Sep 17 00:00:00 2001 From: Evan Wallace Date: Fri, 3 Jul 2020 13:57:47 -0700 Subject: [PATCH] add the "--splitting" flag to the readme --- README.md | 1 + cmd/esbuild/main.go | 1 + 2 files changed, 2 insertions(+) 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