diff options
author | Alex Aubuchon <alex@aub.dev> | 2019-09-28 12:51:15 -0400 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-09-30 21:47:01 -0700 |
commit | 15fb02a515bf937bb1045d415dd09bfe632a463b (patch) | |
tree | 01da2627ce115a9297f4b76c489fe1321183ab39 /doc/node.1 | |
parent | 1c5a3f0d091ef34b82f89dce4c87b431cab4c3ee (diff) | |
download | android-node-v8-15fb02a515bf937bb1045d415dd09bfe632a463b.tar.gz android-node-v8-15fb02a515bf937bb1045d415dd09bfe632a463b.tar.bz2 android-node-v8-15fb02a515bf937bb1045d415dd09bfe632a463b.zip |
src: rename --loader to --experimental-loader
Renames the `--loader` cli argument to `--experimental-loader`. This is
to clearly indicate the esm loader feature as experimental even after
esm is no longer experimental.
Also minorly alters the `--experimental-loader` docs to say that the
passed loader can be an esm module.
Refs: https://github.com/nodejs/modules/issues/351#issuecomment-535189524
PR-URL: https://github.com/nodejs/node/pull/29752
Reviewed-By: Guy Bedford <guybedford@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/node.1')
-rw-r--r-- | doc/node.1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/node.1 b/doc/node.1 index dc0c1b551d..2b7e3dc429 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -191,9 +191,9 @@ Default is V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js instances for debugging and profiling. It uses the Chrome DevTools Protocol. . -.It Fl -loader Ns = Ns Ar file +.It Fl -experimental-loader Ns = Ns Ar module Specify the -.Ar file +.Ar module as a custom loader, to load .Fl -experimental-modules . . |