@@ -80,7 +80,7 @@ $ node --completion-bash > node_bash_completion
8080$ source node_bash_completion
8181```
8282
83- ### ` --conditions=condition `
83+ ### ` -C=condition ` , ` - -conditions=condition`
8484<!-- YAML
8585added:
8686 - v14.9.0
@@ -89,14 +89,20 @@ added:
8989
9090> Stability: 1 - Experimental
9191
92- Enable experimental support for custom conditional exports resolution
92+ Enable experimental support for custom [ conditional exports] [ ] resolution
9393conditions.
9494
9595Any number of custom string condition names are permitted.
9696
9797The default Node.js conditions of ` "node" ` , ` "default" ` , ` "import" ` , and
9898` "require" ` will always apply as defined.
9999
100+ For example, to run a module with "development" resolutions:
101+
102+ ``` console
103+ $ node -C=development app.js
104+ ```
105+
100106### ` --cpu-prof `
101107<!-- YAML
102108added: v12.0.0
@@ -1370,7 +1376,7 @@ node --require "./a.js" --require "./b.js"
13701376
13711377Node.js options that are allowed are:
13721378<!-- node-options-node start -->
1373- * ` --conditions `
1379+ * ` --conditions ` , ` -C `
13741380* ` --diagnostic-dir `
13751381* ` --disable-proto `
13761382* ` --enable-fips `
@@ -1766,6 +1772,7 @@ $ node --max-old-space-size=1536 index.js
17661772[ `tls.DEFAULT_MIN_VERSION` ] : tls.md#tls_tls_default_min_version
17671773[ `unhandledRejection` ] : process.md#process_event_unhandledrejection
17681774[ `worker_threads.threadId` ] : worker_threads.md#worker_threads_worker_threadid
1775+ [ conditional exports ] : packages.md#packages_conditional_exports
17691776[ context-aware ] : addons.md#addons_context_aware_addons
17701777[ customizing ESM specifier resolution ] : esm.md#esm_customizing_esm_specifier_resolution_algorithm
17711778[ debugger ] : debugger.md
0 commit comments