You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: OPTIONS.md
+13-2
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,7 @@ Options:
21
21
--no-bail Negative 'bail' option.
22
22
--cache Enable in memory caching. Disable caching.
23
23
--no-cache Negative 'cache' option.
24
+
--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).
24
25
--cache-type <value> In memory caching. Filesystem caching.
25
26
--cache-cache-directory <value> Base directory for the cache (defaults to node_modules/.cache/webpack).
26
27
--cache-cache-location <value> Locations for the cache (defaults to cacheDirectory / name).
@@ -31,6 +32,8 @@ Options:
31
32
--cache-immutable-paths-reset Clear all items provided in configuration. List of paths that are managed by a package manager and contain a version or hash in its path so all files are immutable.
32
33
--cache-managed-paths <value...> A path to a managed directory (usually a node_modules directory).
33
34
--cache-managed-paths-reset Clear all items provided in configuration. List of paths that are managed by a package manager and can be trusted to not be modified otherwise.
35
+
--cache-max-age <value> Time for which unused cache entries stay in the filesystem cache at minimum (in milliseconds).
36
+
--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.
34
37
--cache-name <value> Name for the cache. Different names will lead to different coexisting caches.
35
38
--cache-store <value> When to store data to the filesystem. (pack: Store data when compiler is idle in a single file).
36
39
--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.
@@ -85,6 +88,10 @@ Options:
85
88
--ignore-warnings-message <value...> A RegExp to select the warning message.
86
89
--ignore-warnings-module <value...> A RegExp to select the origin module for the warning.
87
90
--ignore-warnings-reset Clear all items provided in configuration. Ignore specific warnings.
91
+
--infrastructure-logging-append-only Only appends lines to the output. Avoids updating existing output e. g. for status messages. This option is only used when no custom console is provided.
--module-generator-asset-filename <value> Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
113
+
--module-generator-asset-public-path <value> The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
106
114
--module-generator-asset-inline-data-url-encoding <value> Asset encoding (defaults to base64).
--module-generator-asset-resource-filename <value> Specifies the filename template of output files on disk. You must **not** specify an absolute path here, but the path may contain folders separated by '/'! The specified path is joined with the value of the 'output.path' option to determine the location on disk.
120
+
--module-generator-asset-resource-public-path <value> The 'publicPath' specifies the public URL address of the output files when referenced in a browser.
112
121
--module-no-parse <value...> A regular expression, when matched the module is not parsed. An absolute path, when the module starts with this path it is not parsed.
113
122
--module-no-parse-reset Clear all items provided in configuration. Don't parse files matching. It's matched against the full resolved request.
114
123
--module-parser-asset-data-url-condition-max-size <value> Maximum size of asset that should be inline as modules. Default: 8kb.
@@ -534,7 +543,7 @@ Options:
534
543
-o, --output-path <value> Output location of the file generated by webpack e.g. ./dist/.
535
544
--output-pathinfo [value] Include comments with information about the modules.
0 commit comments