@@ -47,6 +47,8 @@ Options:
47
47
--cache-name <value> Name for the cache. Different names will lead to different coexisting caches.
48
48
--cache-profile Track and log detailed timing information for individual cache items.
49
49
--no-cache-profile Negative 'cache-profile' option.
50
+ --cache-readonly Enable/disable readonly mode.
51
+ --no-cache-readonly Negative 'cache-readonly' option.
50
52
--cache-store <value> When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
51
53
--cache-version <value> Version of the cache data. Different versions won't allow to reuse the cache and override existing content. Update the version when config changed in a way which doesn't allow to reuse cache. This will invalidate the cache.
52
54
--context <value> The base directory (absolute path!) for resolving the `entry` option. If `output.pathinfo` is set, the included pathinfo is shortened to this directory.
@@ -98,7 +100,6 @@ Options:
98
100
--no-experiments-sync-web-assembly Negative 'experiments-sync-web-assembly' option.
99
101
--experiments-top-level-await Allow using top-level-await in EcmaScript Modules.
100
102
--no-experiments-top-level-await Negative 'experiments-top-level-await' option.
101
- --extends <value...> Path to the configuration to be extended (only works when using webpack-cli).
102
103
--extends-reset Clear all items provided in 'extends' configuration. Extend configuration from another configuration (only works when using webpack-cli).
103
104
--externals <value...> Every matched dependency becomes external. An exact matched dependency becomes external. The same string is used as external dependency.
104
105
--externals-reset Clear all items provided in 'externals' configuration. Specify dependencies that shouldn't be resolved by webpack, but should become dependencies of the resulting bundle. The kind of the dependency depends on `output.libraryTarget`.
@@ -168,6 +169,8 @@ Options:
168
169
--no-module-parser-javascript-commonjs-magic-comments Negative 'module-parser-javascript-commonjs-magic-comments' option.
169
170
--module-parser-javascript-create-require [value] Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().
170
171
--no-module-parser-javascript-create-require Negative 'module-parser-javascript-create-require' option.
172
+ --module-parser-javascript-dynamic-import-fetch-priority <value> Specifies global fetchPriority for dynamic import.
173
+ --no-module-parser-javascript-dynamic-import-fetch-priority Negative 'module-parser-javascript-dynamic-import-fetch-priority' option.
171
174
--module-parser-javascript-dynamic-import-mode <value> Specifies global mode for dynamic import.
172
175
--module-parser-javascript-dynamic-import-prefetch [value] Specifies global prefetch for dynamic import.
173
176
--no-module-parser-javascript-dynamic-import-prefetch Negative 'module-parser-javascript-dynamic-import-prefetch' option.
@@ -241,6 +244,8 @@ Options:
241
244
--no-module-parser-javascript-auto-commonjs-magic-comments Negative 'module-parser-javascript-auto-commonjs-magic-comments' option.
242
245
--module-parser-javascript-auto-create-require [value] Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().
243
246
--no-module-parser-javascript-auto-create-require Negative 'module-parser-javascript-auto-create-require' option.
247
+ --module-parser-javascript-auto-dynamic-import-fetch-priority <value> Specifies global fetchPriority for dynamic import.
248
+ --no-module-parser-javascript-auto-dynamic-import-fetch-priority Negative 'module-parser-javascript-auto-dynamic-import-fetch-priority' option.
244
249
--module-parser-javascript-auto-dynamic-import-mode <value> Specifies global mode for dynamic import.
245
250
--module-parser-javascript-auto-dynamic-import-prefetch [value] Specifies global prefetch for dynamic import.
246
251
--no-module-parser-javascript-auto-dynamic-import-prefetch Negative 'module-parser-javascript-auto-dynamic-import-prefetch' option.
@@ -314,6 +319,8 @@ Options:
314
319
--no-module-parser-javascript-dynamic-commonjs-magic-comments Negative 'module-parser-javascript-dynamic-commonjs-magic-comments' option.
315
320
--module-parser-javascript-dynamic-create-require [value] Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().
316
321
--no-module-parser-javascript-dynamic-create-require Negative 'module-parser-javascript-dynamic-create-require' option.
322
+ --module-parser-javascript-dynamic-dynamic-import-fetch-priority <value> Specifies global fetchPriority for dynamic import.
323
+ --no-module-parser-javascript-dynamic-dynamic-import-fetch-priority Negative 'module-parser-javascript-dynamic-dynamic-import-fetch-priority' option.
317
324
--module-parser-javascript-dynamic-dynamic-import-mode <value> Specifies global mode for dynamic import.
318
325
--module-parser-javascript-dynamic-dynamic-import-prefetch [value] Specifies global prefetch for dynamic import.
319
326
--no-module-parser-javascript-dynamic-dynamic-import-prefetch Negative 'module-parser-javascript-dynamic-dynamic-import-prefetch' option.
@@ -387,6 +394,8 @@ Options:
387
394
--no-module-parser-javascript-esm-commonjs-magic-comments Negative 'module-parser-javascript-esm-commonjs-magic-comments' option.
388
395
--module-parser-javascript-esm-create-require [value] Enable/disable parsing "import { createRequire } from "module"" and evaluating createRequire().
389
396
--no-module-parser-javascript-esm-create-require Negative 'module-parser-javascript-esm-create-require' option.
397
+ --module-parser-javascript-esm-dynamic-import-fetch-priority <value> Specifies global fetchPriority for dynamic import.
398
+ --no-module-parser-javascript-esm-dynamic-import-fetch-priority Negative 'module-parser-javascript-esm-dynamic-import-fetch-priority' option.
390
399
--module-parser-javascript-esm-dynamic-import-mode <value> Specifies global mode for dynamic import.
391
400
--module-parser-javascript-esm-dynamic-import-prefetch [value] Specifies global prefetch for dynamic import.
392
401
--no-module-parser-javascript-esm-dynamic-import-prefetch Negative 'module-parser-javascript-esm-dynamic-import-prefetch' option.
@@ -626,8 +635,12 @@ Options:
626
635
--no-output-environment-destructuring Negative 'output-environment-destructuring' option.
627
636
--output-environment-dynamic-import The environment supports an async import() function to import EcmaScript modules.
628
637
--no-output-environment-dynamic-import Negative 'output-environment-dynamic-import' option.
638
+ --output-environment-dynamic-import-in-worker The environment supports an async import() is available when creating a worker.
639
+ --no-output-environment-dynamic-import-in-worker Negative 'output-environment-dynamic-import-in-worker' option.
629
640
--output-environment-for-of The environment supports 'for of' iteration ('for (const x of array) { ... }').
630
641
--no-output-environment-for-of Negative 'output-environment-for-of' option.
642
+ --output-environment-global-this The environment supports 'globalThis'.
643
+ --no-output-environment-global-this Negative 'output-environment-global-this' option.
631
644
--output-environment-module The environment supports EcmaScript Module syntax to import EcmaScript modules (import ... from '...').
632
645
--no-output-environment-module Negative 'output-environment-module' option.
633
646
--output-environment-optional-chaining The environment supports optional chaining ('obj?.a' or 'obj?.()').
0 commit comments