| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 4638ce6 commit e644088
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -132,6 +132,13 @@ V8 inspector integration allows tools such as Chrome DevTools and IDEs to debug | |||
| 132 | 132 | and profile Node.js instances. The tools attach to Node.js instances via a | |
| 133 | 133 | tcp port and communicate using the [Chrome DevTools Protocol][]. | |
| 134 | 134 | ||
| 135 | + ### `--loader=file` | ||
| 136 | + <!-- | ||
| 137 | + added: v9.0.0 | ||
| 138 | + --> | ||
| 139 | + | ||
| 140 | + Specify the `file` of the custom [experimental ECMAScript Module][] loader. | ||
| 141 | + | ||
| 135 | 142 | ### `--napi-modules` | |
| 136 | 143 | <!-- YAML | |
| 137 | 144 | added: v7.10.0 | |
@@ -686,4 +693,5 @@ greater than `4` (its current default value). For more information, see the | |||
| 686 | 693 | [REPL]: repl.html | |
| 687 | 694 | [debugger]: debugger.html | |
| 688 | 695 | [emit_warning]: process.html#process_process_emitwarning_warning_type_code_ctor | |
| 696 | + [experimental ECMAScript Module]: esm.html#esm_loader_hooks | ||
| 689 | 697 | [libuv threadpool documentation]: http://docs.libuv.org/en/latest/threadpool.html | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -124,6 +124,12 @@ Default is | |||
| 124 | 124 | V8 Inspector integration allows attaching Chrome DevTools and IDEs to Node.js instances for debugging and profiling. | |
| 125 | 125 | It uses the Chrome DevTools Protocol. | |
| 126 | 126 | . | |
| 127 | + .It Fl -loader Ns = Ns Ar file | ||
| 128 | + Specify the | ||
| 129 | + .Ar file | ||
| 130 | + as a custom loader, to load | ||
| 131 | + .Fl -experimental-modules . | ||
| 132 | + . | ||
| 127 | 133 | .It Fl -napi-modules | |
| 128 | 134 | This option is a no-op. | |
| 129 | 135 | It is kept for compatibility. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2633,6 +2633,9 @@ static void PrintHelp() { | |||
| 2633 | 2633 | " --inspect[=[host:]port] activate inspector on host:port\n" | |
| 2634 | 2634 | " (default: 127.0.0.1:9229)\n" | |
| 2635 | 2635 | #endif // HAVE_INSPECTOR | |
| 2636 | + " --loader=file (with --experimental-modules) use the \n" | ||
| 2637 | + " specified file as a custom loader\n" | ||
| 2638 | + " for ECMAScript Modules \n" | ||
| 2636 | 2639 | " --napi-modules load N-API modules (no-op - option\n" | |
| 2637 | 2640 | " kept for compatibility)\n" | |
| 2638 | 2641 | " --no-deprecation silence deprecation warnings\n" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments