Skip to content

Commit

Permalink
Add --external{,-core} options to README
Browse files Browse the repository at this point in the history
  • Loading branch information
nathan committed Sep 1, 2018
1 parent 287c9b4 commit 6f4b9c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -152,6 +152,15 @@ Options:
Implies --es-syntax. Allow ECMAScript module syntax in .js files.
CJS-style `require()` calls are also allowed.
-x, --external <module1,module2,...>
Don't resolve or include modules named <module1>, <module2>, etc.;
leave them as require('<module>') 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('<module>') references in the bundle.
-h, --help
Print this message.
Expand Down

0 comments on commit 6f4b9c8

Please sign in to comment.