@@ -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
@@ -1368,7 +1374,7 @@ node --require "./a.js" --require "./b.js"
13681374
13691375Node.js options that are allowed are:
13701376<!-- node-options-node start -->
1371- * ` --conditions `
1377+ * ` --conditions ` , ` -C `
13721378* ` --diagnostic-dir `
13731379* ` --disable-proto `
13741380* ` --enable-fips `
@@ -1764,6 +1770,7 @@ $ node --max-old-space-size=1536 index.js
17641770[ `tls.DEFAULT_MIN_VERSION` ] : tls.md#tls_tls_default_min_version
17651771[ `unhandledRejection` ] : process.md#process_event_unhandledrejection
17661772[ `worker_threads.threadId` ] : worker_threads.md#worker_threads_worker_threadid
1773+ [ conditional exports ] : packages.md#packages_conditional_exports
17671774[ context-aware ] : addons.md#addons_context_aware_addons
17681775[ customizing ESM specifier resolution ] : esm.md#esm_customizing_esm_specifier_resolution_algorithm
17691776[ debugger ] : debugger.md
0 commit comments