From 6f4b9c85813ba867038bd664c3a04e76e47ca545 Mon Sep 17 00:00:00 2001 From: Nathan Date: Sat, 1 Sep 2018 10:42:17 -0400 Subject: [PATCH] Add --external{,-core} options to README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 29d8003..88290c1 100644 --- a/README.md +++ b/README.md @@ -152,6 +152,15 @@ Options: Implies --es-syntax. Allow ECMAScript module syntax in .js files. CJS-style `require()` calls are also allowed. + -x, --external + Don't resolve or include modules named , , etc.; + leave them as require('') references in the bundle. Specifying + a path instead of a module name does nothing. + + --external-core + Ignore references to node.js core modules like 'events' and leave them + as require('') references in the bundle. + -h, --help Print this message.