Skip to content

Commit 7080a20

Browse files
authored
chore: update docs (#3003)
1 parent 817c9e8 commit 7080a20

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

OPTIONS.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ Options:
2121
--no-bail Negative 'bail' option.
2222
--cache Enable in memory caching. Disable caching.
2323
--no-cache Negative 'cache' option.
24+
--cache-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules.
25+
--no-cache-cache-unaffected Negative 'cache-cache-unaffected' option.
2426
--cache-max-generations <value> Number of generations unused cache entries stay in memory cache at minimum (1 = may be removed after unused for a single compilation, ..., Infinity: kept forever).
2527
--cache-type <value> In memory caching. Filesystem caching.
2628
--cache-allow-collecting-memory Allows to collect unused memory allocated during deserialization. This requires copying data into smaller buffers and has a performance cost.
@@ -39,6 +41,8 @@ Options:
3941
--cache-managed-paths-reset Clear all items provided in 'cache.managedPaths' configuration. List of paths that are managed by a package manager and can be trusted to not be modified otherwise.
4042
--cache-max-age <value> Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).
4143
--cache-max-memory-generations <value> Number of generations unused cache entries stay in memory cache at minimum (0 = no memory cache used, 1 = may be removed after unused for a single compilation, ..., Infinity: kept forever). Cache entries will be deserialized from disk when removed from memory cache.
44+
--cache-memory-cache-unaffected Additionally cache computation of modules that are unchanged and reference only unchanged modules in memory.
45+
--no-cache-memory-cache-unaffected Negative 'cache-memory-cache-unaffected' option.
4246
--cache-name <value> Name for the cache. Different names will lead to different coexisting caches.
4347
--cache-profile Track and log detailed timing information for individual cache items.
4448
--no-cache-profile Negative 'cache-profile' option.
@@ -64,8 +68,10 @@ Options:
6468
--experiments-build-http-lockfile-location <value> Location of the lockfile.
6569
--experiments-build-http-upgrade When set, resources of existing lockfile entries will be fetched and entries will be upgraded when resource content has changed.
6670
--no-experiments-build-http-upgrade Negative 'experiments-build-http-upgrade' option.
67-
--experiments-execute-module Enable build-time execution of modules from the module graph for plugins and loaders.
68-
--no-experiments-execute-module Negative 'experiments-execute-module' option.
71+
--experiments-cache-unaffected Enable additional in memory caching of modules that are unchanged and reference only unchanged modules.
72+
--no-experiments-cache-unaffected Negative 'experiments-cache-unaffected' option.
73+
--experiments-future-defaults Apply defaults of next major version.
74+
--no-experiments-future-defaults Negative 'experiments-future-defaults' option.
6975
--experiments-layers Enable module and chunk layers.
7076
--no-experiments-layers Negative 'experiments-layers' option.
7177
--experiments-lazy-compilation Compile entrypoints and import()s only when they are accessed.
@@ -162,7 +168,7 @@ Options:
162168
--no-module-parser-javascript-node-dirname Negative 'module-parser-javascript-node-dirname' option.
163169
--module-parser-javascript-node-filename [value] Include a polyfill for the '__filename' variable.
164170
--no-module-parser-javascript-node-filename Negative 'module-parser-javascript-node-filename' option.
165-
--module-parser-javascript-node-global Include a polyfill for the 'global' variable.
171+
--module-parser-javascript-node-global [value] Include a polyfill for the 'global' variable.
166172
--no-module-parser-javascript-node-global Negative 'module-parser-javascript-node-global' option.
167173
--module-parser-javascript-require-context Enable/disable parsing of require.context syntax.
168174
--no-module-parser-javascript-require-context Negative 'module-parser-javascript-require-context' option.
@@ -218,7 +224,7 @@ Options:
218224
--no-module-parser-javascript-auto-node-dirname Negative 'module-parser-javascript-auto-node-dirname' option.
219225
--module-parser-javascript-auto-node-filename [value] Include a polyfill for the '__filename' variable.
220226
--no-module-parser-javascript-auto-node-filename Negative 'module-parser-javascript-auto-node-filename' option.
221-
--module-parser-javascript-auto-node-global Include a polyfill for the 'global' variable.
227+
--module-parser-javascript-auto-node-global [value] Include a polyfill for the 'global' variable.
222228
--no-module-parser-javascript-auto-node-global Negative 'module-parser-javascript-auto-node-global' option.
223229
--module-parser-javascript-auto-require-context Enable/disable parsing of require.context syntax.
224230
--no-module-parser-javascript-auto-require-context Negative 'module-parser-javascript-auto-require-context' option.
@@ -274,7 +280,7 @@ Options:
274280
--no-module-parser-javascript-dynamic-node-dirname Negative 'module-parser-javascript-dynamic-node-dirname' option.
275281
--module-parser-javascript-dynamic-node-filename [value] Include a polyfill for the '__filename' variable.
276282
--no-module-parser-javascript-dynamic-node-filename Negative 'module-parser-javascript-dynamic-node-filename' option.
277-
--module-parser-javascript-dynamic-node-global Include a polyfill for the 'global' variable.
283+
--module-parser-javascript-dynamic-node-global [value] Include a polyfill for the 'global' variable.
278284
--no-module-parser-javascript-dynamic-node-global Negative 'module-parser-javascript-dynamic-node-global' option.
279285
--module-parser-javascript-dynamic-require-context Enable/disable parsing of require.context syntax.
280286
--no-module-parser-javascript-dynamic-require-context Negative 'module-parser-javascript-dynamic-require-context' option.
@@ -330,7 +336,7 @@ Options:
330336
--no-module-parser-javascript-esm-node-dirname Negative 'module-parser-javascript-esm-node-dirname' option.
331337
--module-parser-javascript-esm-node-filename [value] Include a polyfill for the '__filename' variable.
332338
--no-module-parser-javascript-esm-node-filename Negative 'module-parser-javascript-esm-node-filename' option.
333-
--module-parser-javascript-esm-node-global Include a polyfill for the 'global' variable.
339+
--module-parser-javascript-esm-node-global [value] Include a polyfill for the 'global' variable.
334340
--no-module-parser-javascript-esm-node-global Negative 'module-parser-javascript-esm-node-global' option.
335341
--module-parser-javascript-esm-require-context Enable/disable parsing of require.context syntax.
336342
--no-module-parser-javascript-esm-require-context Negative 'module-parser-javascript-esm-require-context' option.
@@ -424,7 +430,7 @@ Options:
424430
--no-node-dirname Negative 'node-dirname' option.
425431
--node-filename [value] Include a polyfill for the '__filename' variable.
426432
--no-node-filename Negative 'node-filename' option.
427-
--node-global Include a polyfill for the 'global' variable.
433+
--node-global [value] Include a polyfill for the 'global' variable.
428434
--no-node-global Negative 'node-global' option.
429435
--optimization-check-wasm-types Check for incompatible wasm types when importing/exporting from/to ESM.
430436
--no-optimization-check-wasm-types Negative 'optimization-check-wasm-types' option.

0 commit comments

Comments
 (0)