In the last CLI doc, these options are missing:
--experimental-worker
--loader
But they are present in the source whitelist for NODE_OPTIONS:
https://github.com/nodejs/node/blob/2237a8e45d5043e89cc126f7a7546f3a62f30e59/src/node.cc#L3162-L3168
cc @addaleax @nodejs/modules, as I am not sure how to document them.
Both are experimental; should they be documented at this point?
@ljharb --loader is already documented in esm.html, and without --experimental-worker examples in the worker_threads.html do not work.
@vsemozhetbyt let's just tag this as good-first-issue?
Why not if anybody is sure how to document this)
--experimental-worker will be documented in https://github.com/nodejs/node/pull/21461
Most helpful comment
@ljharb
--loaderis already documented in esm.html, and without--experimental-workerexamples in the worker_threads.html do not work.